diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/baas | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/baas')
| -rw-r--r-- | data/zh_cn/baas/2018-12-21/api-docs.php | 20086 |
1 files changed, 7804 insertions, 12282 deletions
diff --git a/data/zh_cn/baas/2018-12-21/api-docs.php b/data/zh_cn/baas/2018-12-21/api-docs.php index 3edabf9..bdda1d4 100644 --- a/data/zh_cn/baas/2018-12-21/api-docs.php +++ b/data/zh_cn/baas/2018-12-21/api-docs.php @@ -1,116 +1,25 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Baas', - 'version' => '2018-12-21', - ], + 'info' => ['style' => 'RPC', 'product' => 'Baas', 'version' => '2018-12-21'], 'directories' => [ [ - 'id' => 144881, - 'title' => '任务', - 'type' => 'directory', 'children' => [ - 'DescribeTasks', + 'CreateAntChainKmsAccountNew', 'CreateAntChainConsortium', 'CreateAntChainAccount', 'CreateAntChainAccountWithKeyPairAutoCreation', 'CreateAntChainContractProject', 'CreateAntChainContractContent', 'DeleteAntChainConsortium', 'DeleteAntChainContractContent', 'DeleteAntChainContractProject', 'DeleteAntChainMiniAppQRCodeAuthorizedUser', 'UpdateAntChainConsortium', 'UpdateAntChain', 'UpdateAntChainContractContent', 'UpdateAntChainContractProject', 'UpdateAntChainMember', 'UpdateAntChainQRCodeAuthorization', 'DescribeAntChainMiniAppBrowserTransactionQRCodeNew', 'DescribeAntChainQRCodeAuthorizationV2', 'DescribeAntChainsV2', 'DescribeAntChainNodesV2', + 'DescribeAntChainMiniAppBrowserQRCodeAccessLogV2', 'DescribeAntChainMembersV2', 'DescribeAntChainDownloadPathsV2', 'DescribeAntChainContractProjectsV2', 'DescribeAntChainContractProjectContentTreeV2', 'DescribeAntChainConsortiumsV2', 'DescribeAntChainCertificateApplicationsV2', 'DescribeAntChainAccountsV2', 'DescribeAntChainBlockV2', 'DescribeAntChainTransactionV2', 'DescribeAntChainTransactionReceiptV2', 'DescribeAntChainLatestTransactionDigestsV2', 'DescribeAntChainTransactionStatisticsV2', 'DescribeAntChainLatestBlocksV2', 'DescribeAntChainInformationV2', 'DescribeAntChainConsortiums', 'DescribeAntChainDownloadPaths', 'DescribeAntChains', 'DescribeAntChainTransaction', 'DescribeAntChainInformation', + 'DescribeAntChainLatestBlocks', 'DescribeAntChainLatestTransactionDigests', 'DescribeAntChainBlock', 'DescribeAntChainAccounts', 'DescribeAntChainCertificateApplications', 'DescribeAntChainContractProjects', 'DescribeAntChainContractProjectContentTree', 'DescribeAntChainMembers', 'DescribeAntChainTransactionReceipt', 'DescribeAntChainNodes', 'DescribeAntChainTransactionStatistics', 'DescribeAntChainQRCodeAuthorization', 'DescribeAntChainMiniAppBrowserQRCodeAccessLog', 'DescribeAntChainMiniAppBrowserTransactionQRCode', 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsers', 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2', 'ResetAntChainCertificate', 'ApplyAntChainCertificate', 'ApplyAntChainCertificateWithKeyAutoCreation', 'ResetAntChainUserCertificate', + 'UnfreezeAntChainAccount', 'FreezeAntChainAccount', 'CopyAntChainContractProject', 'BatchAddAntChainMiniAppQRCodeAuthorizedUsers', ], - ], - [ - 'id' => 144883, - 'title' => '区域', 'type' => 'directory', - 'children' => [ - 'DescribeRegions', - ], - ], - [ - 'id' => 144885, 'title' => '蚂蚁区块链', - 'type' => 'directory', - 'children' => [ - 'CreateAntChainKmsAccountNew', - 'CreateAntChainConsortium', - 'CreateAntChainAccount', - 'CreateAntChainAccountWithKeyPairAutoCreation', - 'CreateAntChainContractProject', - 'CreateAntChainContractContent', - 'DeleteAntChainConsortium', - 'DeleteAntChainContractContent', - 'DeleteAntChainContractProject', - 'DeleteAntChainMiniAppQRCodeAuthorizedUser', - 'UpdateAntChainConsortium', - 'UpdateAntChain', - 'UpdateAntChainContractContent', - 'UpdateAntChainContractProject', - 'UpdateAntChainMember', - 'UpdateAntChainQRCodeAuthorization', - 'DescribeAntChainMiniAppBrowserTransactionQRCodeNew', - 'DescribeAntChainQRCodeAuthorizationV2', - 'DescribeAntChainsV2', - 'DescribeAntChainNodesV2', - 'DescribeAntChainMiniAppBrowserQRCodeAccessLogV2', - 'DescribeAntChainMembersV2', - 'DescribeAntChainDownloadPathsV2', - 'DescribeAntChainContractProjectsV2', - 'DescribeAntChainContractProjectContentTreeV2', - 'DescribeAntChainConsortiumsV2', - 'DescribeAntChainCertificateApplicationsV2', - 'DescribeAntChainAccountsV2', - 'DescribeAntChainBlockV2', - 'DescribeAntChainTransactionV2', - 'DescribeAntChainTransactionReceiptV2', - 'DescribeAntChainLatestTransactionDigestsV2', - 'DescribeAntChainTransactionStatisticsV2', - 'DescribeAntChainLatestBlocksV2', - 'DescribeAntChainInformationV2', - 'DescribeAntChainConsortiums', - 'DescribeAntChainDownloadPaths', - 'DescribeAntChains', - 'DescribeAntChainTransaction', - 'DescribeAntChainInformation', - 'DescribeAntChainLatestBlocks', - 'DescribeAntChainLatestTransactionDigests', - 'DescribeAntChainBlock', - 'DescribeAntChainAccounts', - 'DescribeAntChainCertificateApplications', - 'DescribeAntChainContractProjects', - 'DescribeAntChainContractProjectContentTree', - 'DescribeAntChainMembers', - 'DescribeAntChainTransactionReceipt', - 'DescribeAntChainNodes', - 'DescribeAntChainTransactionStatistics', - 'DescribeAntChainQRCodeAuthorization', - 'DescribeAntChainMiniAppBrowserQRCodeAccessLog', - 'DescribeAntChainMiniAppBrowserTransactionQRCode', - 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsers', - 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2', - 'ResetAntChainCertificate', - 'ApplyAntChainCertificate', - 'ApplyAntChainCertificateWithKeyAutoCreation', - 'ResetAntChainUserCertificate', - 'UnfreezeAntChainAccount', - 'FreezeAntChainAccount', - 'CopyAntChainContractProject', - 'BatchAddAntChainMiniAppQRCodeAuthorizedUsers', - ], + 'id' => 315243, ], [ - 'id' => 144949, - 'title' => 'Hyperledger Fabric', - 'type' => 'directory', 'children' => [ [ - 'id' => 144950, - 'title' => 'ChainCode 2.0', + 'children' => ['CreateFabricChaincodePackage', 'SubmitFabricChaincodeDefinition', 'InstallFabricChaincodePackage', 'ApproveFabricChaincodeDefinition', 'UpgradeFabricChaincodeDefinition', 'DescribeFabricOrganizationChaincodePackage', 'DescribeFabricChaincodeDefinitionTask'], 'type' => 'directory', - 'children' => [ - 'CreateFabricChaincodePackage', - 'SubmitFabricChaincodeDefinition', - 'InstallFabricChaincodePackage', - 'ApproveFabricChaincodeDefinition', - 'UpgradeFabricChaincodeDefinition', - 'DescribeFabricOrganizationChaincodePackage', - 'DescribeFabricChaincodeDefinitionTask', - ], + 'title' => 'ChainCode 2.0', + 'id' => 315309, ], 'CreateFabricChaincode', 'CreateFabricChannelMember', @@ -148,7 +57,6 @@ 'DescribeFabricOrganizationUsers', 'DescribeFabricInvitationCode', 'DescribeFabricOrganizationSpecs', - 'ListTagResources', 'DescribeFabricOrganizationChannels', 'AcceptFabricInvitation', 'ConfirmFabricConsortiumMember', @@ -160,17 +68,21 @@ 'CheckFabricOrganizationDomain', 'UpgradeFabricChaincode', 'InstantiateFabricChaincode', - 'TagResources', - 'UntagResources', ], + 'type' => 'directory', + 'title' => 'Hyperledger Fabric', + 'id' => 315308, ], [ - 'id' => 145008, + 'children' => ['DescribeEthereumDeletable'], + 'type' => 'directory', 'title' => '其它', + 'id' => 315367, + ], + [ + 'children' => ['DescribeRegions', 'DescribeTasks', 'ListTagResources', 'TagResources', 'UntagResources'], + 'title' => '其他', 'type' => 'directory', - 'children' => [ - 'DescribeEthereumDeletable', - ], ], ], 'components' => [ @@ -180,103 +92,22 @@ 'description' => '链码包结构', 'type' => 'object', 'properties' => [ - 'OrganizationId' => [ - 'title' => '组织ID', - 'description' => '组织ID', - 'type' => 'string', - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], - 'Label' => [ - 'title' => '链码label', - 'description' => '链码label', - 'type' => 'string', - 'example' => 'label', - ], - 'Checksum' => [ - 'title' => '链码校验值', - 'description' => '链码校验值', - 'type' => 'string', - 'example' => '15bab12c29edbc095c33545b9867aec9be469c74a6dd5783df6ee74a24334c77', - ], - 'ChaincodePackageId' => [ - 'title' => '链码包ID', - 'description' => '链码包ID', - 'type' => 'string', - 'example' => 'cmcc-1.5:227c3cd472a8a2fcaa1c63f15812a1894348a985dc723006dd47d9f2848d10ed', - ], - 'Md5sum' => [ - 'title' => '链码md5值', - 'description' => '链码md5值', - 'type' => 'string', - 'example' => 'N02eVKuRJDA2ODtieMUxVw==', - ], - 'ProviderUid' => [ - 'title' => '上传者Uid', - 'description' => '上传者Uid', - 'type' => 'string', - 'example' => '1313158505072210', - ], - 'ProviderBid' => [ - 'title' => '上传者Bid', - 'description' => '上传者Bid', - 'type' => 'string', - 'example' => '26842', - ], - 'Type' => [ - 'title' => '链码类型', - 'description' => '链码类型', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'TypeName' => [ - 'title' => '链码类型', - 'description' => '链码类型', - 'type' => 'string', - 'example' => 'golang', - ], - 'UploadTime' => [ - 'title' => '上传时间', - 'description' => '上传时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'InstallTime' => [ - 'title' => '安装时间', - 'description' => '安装时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'State' => [ - 'title' => '链码状态', - 'description' => '链码状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'OssURL' => [ - 'title' => '链码包存放bucket内路径', - 'description' => '链码包存放bucket内路径', - 'type' => 'string', - 'example' => 'hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz', - ], - 'DeleteTime' => [ - 'title' => '删除时间', - 'description' => '删除时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'Deleted' => [ - 'title' => '是否删除', - 'description' => '是否删除', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Message' => [ - 'title' => '信息', - 'description' => '信息', - 'type' => 'string', - 'example' => 'ok', - ], + 'OrganizationId' => ['title' => '组织ID', 'description' => '组织ID', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], + 'Label' => ['title' => '链码label', 'description' => '链码label', 'type' => 'string', 'example' => 'label'], + 'Checksum' => ['title' => '链码校验值', 'description' => '链码校验值', 'type' => 'string', 'example' => '15bab12c29edbc095c33545b9867aec9be469c74a6dd5783df6ee74a24334c77'], + 'ChaincodePackageId' => ['title' => '链码包ID', 'description' => '链码包ID', 'type' => 'string', 'example' => 'cmcc-1.5:227c3cd472a8a2fcaa1c63f15812a1894348a985dc723006dd47d9f2848d10ed'], + 'Md5sum' => ['title' => '链码md5值', 'description' => '链码md5值', 'type' => 'string', 'example' => 'N02eVKuRJDA2ODtieMUxVw=='], + 'ProviderUid' => ['title' => '上传者Uid', 'description' => '上传者Uid', 'type' => 'string', 'example' => '1313158505072210'], + 'ProviderBid' => ['title' => '上传者Bid', 'description' => '上传者Bid', 'type' => 'string', 'example' => '26842'], + 'Type' => ['title' => '链码类型', 'description' => '链码类型', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'TypeName' => ['title' => '链码类型', 'description' => '链码类型', 'type' => 'string', 'example' => 'golang'], + 'UploadTime' => ['title' => '上传时间', 'description' => '上传时间', 'type' => 'string', 'example' => '1533025590'], + 'InstallTime' => ['title' => '安装时间', 'description' => '安装时间', 'type' => 'string', 'example' => '1533025590'], + 'State' => ['title' => '链码状态', 'description' => '链码状态', 'type' => 'string', 'example' => 'Running'], + 'OssURL' => ['title' => '链码包存放bucket内路径', 'description' => '链码包存放bucket内路径', 'type' => 'string', 'example' => 'hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz'], + 'DeleteTime' => ['title' => '删除时间', 'description' => '删除时间', 'type' => 'string', 'example' => '1533025590'], + 'Deleted' => ['title' => '是否删除', 'description' => '是否删除', 'type' => 'boolean', 'example' => 'false'], + 'Message' => ['title' => '信息', 'description' => '信息', 'type' => 'string', 'example' => 'ok'], ], ], 'ChaincodeVO' => [ @@ -284,291 +115,60 @@ 'description' => 'ChainCodeVO', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '链码包名称', - 'description' => '链码包名称', - 'type' => 'string', - 'example' => 'sacc', - ], - 'Version' => [ - 'title' => '链码包版本', - 'description' => '链码版本', - 'type' => 'string', - 'example' => '1.1', - ], - 'Input' => [ - 'title' => '链码初始化参数', - 'description' => '链码输入', - 'type' => 'string', - 'example' => 'args:"key" args:"val"', - ], - 'Type' => [ - 'title' => '链码类型', - 'description' => '链码类型', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'State' => [ - 'title' => '链码状态', - 'description' => '链码状态', - 'type' => 'string', - 'example' => 'Pending', - ], - 'Path' => [ - 'title' => '链码路径', - 'description' => '链码路径', - 'type' => 'string', - 'example' => 'chaincode/sacc', - ], - 'ChaincodeId' => [ - 'title' => '链码ID', - 'description' => '链码ID', - 'type' => 'string', - 'example' => 'code-sacc-jbkuldd3i7ad', - ], - 'Install' => [ - 'title' => '链码是否安装', - 'description' => '是否安装', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Message' => [ - 'title' => '信息', - 'description' => '消息', - 'type' => 'string', - 'example' => 'ok', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'DeployTime' => [ - 'title' => '安装部署时间', - 'description' => '部署时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ChannelName' => [ - 'title' => '通道名称', - 'description' => '通道名', - 'type' => 'string', - 'example' => 'f100', - ], - 'EndorsePolicy' => [ - 'title' => '背书策略', - 'description' => '背书策略', - 'type' => 'string', - 'example' => 'OR ("perf9141MSP.member")', - ], - 'ConsortiumId' => [ - 'title' => '联盟ID', - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], - 'ProviderId' => [ - 'title' => '上传者ID', - 'description' => '链码上传者ID', - 'type' => 'string', - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], - 'ProviderName' => [ - 'title' => '链码上传者', - 'description' => '链码上传者名称', - 'type' => 'string', - 'example' => 'perf9141', - ], - 'ChannelId' => [ - 'title' => '通道ID', - 'description' => '通道ID', - 'type' => 'string', - 'example' => 'chan-test-b0wx5suhgyb9p', - ], - 'Management' => [ - 'title' => '是否是管理链码', - 'description' => '是否是管理链码', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ChaincodePackageId' => [ - 'title' => '链码包ID', - 'description' => '链码包ID', - 'type' => 'string', - 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860', - ], - 'InitRequired' => [ - 'title' => '是否需要初始化', - 'description' => '是否需要初始化', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ChaincodeDefinitionId' => [ - 'title' => '链码定义ID', - 'description' => '链码定义ID', - 'type' => 'string', - 'example' => 'a5f04baed775b016e8dc386783f40a2c8b13823cac22bc5fd11846cca4a13a9a', - ], + 'Name' => ['title' => '链码包名称', 'description' => '链码包名称', 'type' => 'string', 'example' => 'sacc'], + 'Version' => ['title' => '链码包版本', 'description' => '链码版本', 'type' => 'string', 'example' => '1.1'], + 'Input' => ['title' => '链码初始化参数', 'description' => '链码输入', 'type' => 'string', 'example' => 'args:"key" args:"val"'], + 'Type' => ['title' => '链码类型', 'description' => '链码类型', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'State' => ['title' => '链码状态', 'description' => '链码状态', 'type' => 'string', 'example' => 'Pending'], + 'Path' => ['title' => '链码路径', 'description' => '链码路径', 'type' => 'string', 'example' => 'chaincode/sacc'], + 'ChaincodeId' => ['title' => '链码ID', 'description' => '链码ID', 'type' => 'string', 'example' => 'code-sacc-jbkuldd3i7ad'], + 'Install' => ['title' => '链码是否安装', 'description' => '是否安装', 'type' => 'boolean', 'example' => 'true'], + 'Message' => ['title' => '信息', 'description' => '消息', 'type' => 'string', 'example' => 'ok'], + 'CreateTime' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '1533025590'], + 'DeployTime' => ['title' => '安装部署时间', 'description' => '部署时间', 'type' => 'string', 'example' => '1533025590'], + 'ChannelName' => ['title' => '通道名称', 'description' => '通道名', 'type' => 'string', 'example' => 'f100'], + 'EndorsePolicy' => ['title' => '背书策略', 'description' => '背书策略', 'type' => 'string', 'example' => 'OR ("perf9141MSP.member")'], + 'ConsortiumId' => ['title' => '联盟ID', 'description' => '联盟ID', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], + 'ProviderId' => ['title' => '上传者ID', 'description' => '链码上传者ID', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], + 'ProviderName' => ['title' => '链码上传者', 'description' => '链码上传者名称', 'type' => 'string', 'example' => 'perf9141'], + 'ChannelId' => ['title' => '通道ID', 'description' => '通道ID', 'type' => 'string', 'example' => 'chan-test-b0wx5suhgyb9p'], + 'Management' => ['title' => '是否是管理链码', 'description' => '是否是管理链码', 'type' => 'boolean', 'example' => 'false'], + 'ChaincodePackageId' => ['title' => '链码包ID', 'description' => '链码包ID', 'type' => 'string', 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860'], + 'InitRequired' => ['title' => '是否需要初始化', 'description' => '是否需要初始化', 'type' => 'boolean', 'example' => 'false'], + 'ChaincodeDefinitionId' => ['title' => '链码定义ID', 'description' => '链码定义ID', 'type' => 'string', 'example' => 'a5f04baed775b016e8dc386783f40a2c8b13823cac22bc5fd11846cca4a13a9a'], ], ], ], ], 'apis' => [ - 'DescribeTasks' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'DynamicMessage' => [ - 'description' => '动态消息。', - 'type' => 'string', - 'example' => 'msg', - ], - 'RequestId' => [ - 'description' => '请求Id', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'DynamicCode' => [ - 'description' => '错误代码', - 'type' => 'string', - 'example' => 'code', - ], - 'Result' => [ - 'description' => '结果', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Action' => [ - 'description' => '操作', - 'type' => 'string', - 'example' => 'action', - ], - 'Result' => [ - 'description' => '结果', - 'type' => 'string', - 'example' => 'result', - ], - 'Sender' => [ - 'description' => '发送者', - 'type' => 'string', - 'example' => 'sender', - ], - 'OperationType' => [ - 'description' => '操作类型', - 'type' => 'string', - 'example' => 'type', - ], - 'Handled' => [ - 'description' => '是否已操作', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ResponseTime' => [ - 'description' => '响应时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'Target' => [ - 'description' => '接收者', - 'type' => 'string', - 'example' => 'target', - ], - 'TaskId' => [ - 'description' => '任务Id', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '33', - ], - 'RequestTime' => [ - 'description' => '请求时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1533025590', - ], - ], - ], - ], - ], - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DynamicMessage\\": \\"msg\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ErrorCode\\": 200,\\n \\"Success\\": true,\\n \\"DynamicCode\\": \\"code\\",\\n \\"Result\\": [\\n {\\n \\"Action\\": \\"action\\",\\n \\"Result\\": \\"result\\",\\n \\"Sender\\": \\"sender\\",\\n \\"OperationType\\": \\"type\\",\\n \\"Handled\\": false,\\n \\"ResponseTime\\": \\"1533025590\\",\\n \\"Target\\": \\"target\\",\\n \\"TaskId\\": 33,\\n \\"RequestTime\\": 1533025590\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => 'DescribeTasks', - 'summary' => '获取任务列表。', - ], - 'DescribeRegions' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AcceptFabricInvitation' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '地域ID', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'name' => 'Code', + 'in' => 'formData', + 'schema' => ['description' => '邀请码。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'secrettoken'], ], [ - 'name' => 'AcceptLanguage', - 'in' => 'query', + 'name' => 'IsAccepted', + 'in' => 'formData', 'schema' => [ - 'description' => '返回值的语言,取值:'."\n" - ."\n" - .'- **zh-CN**:中文,默认值。'."\n" - .'- **en-US**:英文。', - 'type' => 'string', + 'description' => '是否接受。', + 'type' => 'boolean', 'required' => false, - 'example' => 'zh-CN', + 'example' => 'true', + 'docRequired' => false, + 'default' => 'true', + 'enum' => ['true', 'false'], ], ], ], @@ -577,200 +177,57 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D1597848-E708-522C-9275-3A202FC8B63A', - ], - 'Success' => [ - 'description' => '请求是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Regions' => [ - 'description' => '地域列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RegionEndpoint' => [ - 'description' => '地域对应的接入地址(Endpoint)。', - 'type' => 'string', - 'example' => 'baas.cn-hangzhou.aliyuncs.com', - ], - 'LocalName' => [ - 'description' => '地域名称', - 'type' => 'string', - 'example' => '华东1(杭州)', - ], - 'RegionId' => [ - 'description' => '地域ID', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '52CC8D5B-79A8-4769-BC7B-8940556ADA49'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D1597848-E708-522C-9275-3A202FC8B63A\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Regions\\": [\\n {\\n \\"RegionEndpoint\\": \\"baas.cn-hangzhou.aliyuncs.com\\",\\n \\"LocalName\\": \\"华东1(杭州)\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取区域列表', - 'summary' => '获取区域列表。', - ], - 'CreateAntChainKmsAccountNew' => [ - 'summary' => '创建托管账户。', - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"52CC8D5B-79A8-4769-BC7B-8940556ADA49\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<AcceptFabricInvitationResesponse>\\r\\n\\t<RequestId>52CC8D5B-79A8-4769-BC7B-8940556ADA49</RequestId>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n\\t<Success>true</Success>\\r\\n</AcceptFabricInvitationResesponse>","errorExample":""}]', + 'title' => '接受加入联盟的邀请', + 'summary' => '调用AcceptFabricInvitation接受加入联盟的邀请。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'AntChainId', - 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => false, - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], - ], - [ - 'name' => 'Account', - 'in' => 'formData', - 'schema' => [ - 'description' => '账户名', - 'type' => 'string', - 'required' => false, - 'example' => 'accountname', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '063C2175-C755-5C85-9C42-5EB432B67D9B', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '返回信息', - 'type' => 'string', - 'example' => '没有权限', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Result' => [ - 'description' => '结果', - 'type' => 'object', - 'properties' => [ - 'PubKey' => [ - 'description' => '托管账户公钥', - 'type' => 'string', - 'example' => 'd408f5c5c3c118b23646f4059c81fbe5a1b067a12f96f4a7a5e09eae10c81288cdf64aa887af89738b9ec5d16bc124594bf820a4afa24fe0de9d8dcfd1d99500', - ], - 'MyKmsKeyId' => [ - 'description' => '托管账户ID', - 'type' => 'string', - 'example' => '1234565181228596659400e4-3bd7-4a83-b9af-d12654bb5779', - ], - ], - ], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:AcceptFabricInvitation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"063C2175-C755-5C85-9C42-5EB432B67D9B\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"没有权限\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"PubKey\\": \\"d408f5c5c3c118b23646f4059c81fbe5a1b067a12f96f4a7a5e09eae10c81288cdf64aa887af89738b9ec5d16bc124594bf820a4afa24fe0de9d8dcfd1d99500\\",\\n \\"MyKmsKeyId\\": \\"1234565181228596659400e4-3bd7-4a83-b9af-d12654bb5779\\"\\n }\\n}","type":"json"}]', - 'title' => '创建蚂蚁链托管账户', ], - 'CreateAntChainConsortium' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ApplyAntChainCertificate' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'ConsortiumName', + 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟名称,只能是英文大小写、数字、中文字符、短划线(-)的自由组合,不能有空格或特殊字符,限制1~100个字符。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '联盟名称', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ'], ], [ - 'name' => 'ConsortiumDescription', + 'name' => 'UploadReq', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟描述,可以选填,如需填写,限制在1~255个字符。', - 'type' => 'string', - 'required' => false, - 'example' => '联盟描述', - ], + 'schema' => ['description' => '上传内容', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LS0tLS1...'], ], ], 'responses' => [ @@ -778,198 +235,91 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '87FAFC6B-E7AE-4626-B7F7-AE0B88E612D5', - ], - 'Result' => [ - 'description' => '请求结果', - 'type' => 'object', - 'properties' => [ - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'A28nO1ow', - ], - ], - ], + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D3FB9E67-0E31-4B8B-8895-3660CCE8CA62'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"87FAFC6B-E7AE-4626-B7F7-AE0B88E612D5\\",\\n \\"Result\\": {\\n \\"ConsortiumId\\": \\"A28nO1ow\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateAntChainConsortiumResponse>\\n <RequestId>87FAFC6B-E7AE-4626-B7F7-AE0B88E612D5</RequestId>\\n <Result>\\n <ConsortiumId>A28nO1ow</ConsortiumId>\\n </Result>\\n</CreateAntChainConsortiumResponse>","errorExample":""}]', - 'title' => '创建联盟', - 'summary' => '创建联盟。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"D3FB9E67-0E31-4B8B-8895-3660CCE8CA62\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '申请链接蚂蚁区块链', + 'summary' => '申请链接一条蚂蚁区块链,上传 TLS 证书请求。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateAntChainAccount' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:ApplyAntChainCertificate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ApplyAntChainCertificateWithKeyAutoCreation' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'bDXK6boZ', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1q8B5R9p'], ], [ - 'name' => 'Account', + 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '账号名,只能是英文大小写、数字、汉字及短划线(-)的自由组合', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DV80nJXq'], ], [ - 'name' => 'AccountPubKey', + 'name' => 'Password', 'in' => 'formData', - 'schema' => [ - 'description' => '账户公钥,属于hash值,固定128个字符', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'AEDC32...', - ], + 'schema' => ['description' => 'SSL密钥密码'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'password'], ], [ - 'name' => 'AccountRecoverPubKey', + 'name' => 'CountryName', 'in' => 'formData', - 'schema' => [ - 'description' => '账户恢复公钥,属于hash值,固定128个字符', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'AEDC32...', - ], + 'schema' => ['description' => '城市名(L)', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'countryName'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '0301F6CB-4FA6-4D03-8668-963623B63D0F', - ], - 'Result' => [ - 'description' => '请求结果', - 'type' => 'object', - 'properties' => [ - 'Account' => [ - 'description' => '账户名', - 'type' => 'string', - 'example' => 'test', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => 'bDXK6boZ', - ], - ], - ], - ], - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0301F6CB-4FA6-4D03-8668-963623B63D0F\\",\\n \\"Result\\": {\\n \\"Account\\": \\"test\\",\\n \\"AntChainId\\": \\"bDXK6boZ\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '在一条蚂蚁区块链上创建一个账户', - 'summary' => '在一条蚂蚁区块链上创建一个账户。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'CreateAntChainAccountWithKeyPairAutoCreation' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'StateOrProvinceName', + 'in' => 'formData', + 'schema' => ['description' => '省名(ST)'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'stateOrProvinceName'], ], - ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - ], - 'parameters' => [ [ - 'name' => 'AntChainId', + 'name' => 'LocalityName', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1q8B5R9p', - ], + 'schema' => ['description' => '国家名(C)', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'localityName'], ], [ - 'name' => 'Account', + 'name' => 'OrganizationName', 'in' => 'formData', - 'schema' => [ - 'description' => '账户名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'accountname', - ], + 'schema' => ['description' => '机构名(O)', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'organizationName '], ], [ - 'name' => 'Password', + 'name' => 'OrganizationUnitName', 'in' => 'formData', - 'schema' => [ - 'description' => '密码', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'password', - ], + 'schema' => ['description' => '组织单位名(OU)'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'organizationUnitName '], ], [ - 'name' => 'RecoverPassword', + 'name' => 'CommonName', 'in' => 'formData', - 'schema' => [ - 'description' => '恢复密码', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '************', - ], + 'schema' => ['description' => '通用名称(CN)', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'commonName'], ], ], 'responses' => [ @@ -977,259 +327,190 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '5F058BB4-3043-4638-86D4-EED84AD1AE54', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '3E1894AF-FEE7-4C6C-8C2A-2B3EE0105B07'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'AccountPublicKey' => [ - 'description' => '账户公钥', - 'type' => 'string', - 'example' => 'b***7', - ], - 'Account' => [ - 'description' => '账户名', - 'type' => 'string', - 'example' => 'accountname', - ], - 'AccountRecoverPrivateKey' => [ - 'description' => '账户恢复私钥', - 'type' => 'string', - 'example' => '-----BEGIN ENCRYPTED PRIVATE KEY-----\\nM***Io=\\n-----END ENCRYPTED PRIVATE KEY-----\\n', - ], - 'AccountRecoverPublicKey' => [ - 'description' => '账户恢复公钥', - 'type' => 'string', - 'example' => 'd***b', - ], - 'AccountPrivateKey' => [ - 'description' => '账户私钥', - 'type' => 'string', - 'example' => '-----BEGIN ENCRYPTED PRIVATE KEY-----\\nM***8=\\n-----END ENCRYPTED PRIVATE KEY-----\\n', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => '1q8B5R9p', + 'PrivateKey' => ['description' => '私钥', 'type' => 'string', 'example' => '-----BEGIN ENCRYPTED PRIVATE KEY-----\\nMII***A=\\n-----END ENCRYPTED PRIVATE KEY-----\\n'], + 'DownloadPath' => [ + 'description' => '下载地址', + 'type' => 'object', + 'properties' => [ + 'SdkUrl' => ['description' => 'SDK下载链接', 'type' => 'string', 'example' => 'http://***'], + 'ClientCrtUrl' => ['description' => 'client.crt下载链接', 'type' => 'string', 'example' => 'http://***client.crt'], + 'CaCrtUrl' => ['description' => 'ca.crt下载链接', 'type' => 'string', 'example' => 'http://***ca.crt'], + 'TrustCaUrl' => ['description' => 'trust.CA下载链接', 'type' => 'string', 'example' => 'http://***trustCa'], + ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5F058BB4-3043-4638-86D4-EED84AD1AE54\\",\\n \\"Result\\": {\\n \\"AccountPublicKey\\": \\"b***7\\",\\n \\"Account\\": \\"accountname\\",\\n \\"AccountRecoverPrivateKey\\": \\"-----BEGIN ENCRYPTED PRIVATE KEY-----\\\\\\\\nM***Io=\\\\\\\\n-----END ENCRYPTED PRIVATE KEY-----\\\\\\\\n\\",\\n \\"AccountRecoverPublicKey\\": \\"d***b\\",\\n \\"AccountPrivateKey\\": \\"-----BEGIN ENCRYPTED PRIVATE KEY-----\\\\\\\\nM***8=\\\\\\\\n-----END ENCRYPTED PRIVATE KEY-----\\\\\\\\n\\",\\n \\"AntChainId\\": \\"1q8B5R9p\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => 'CreateAntChainAccountWithKeyPairAutoCreation', - 'summary' => '在一条蚂蚁区块链上创建一个账户,通过自动生成keypair 的方式。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3E1894AF-FEE7-4C6C-8C2A-2B3EE0105B07\\",\\n \\"Result\\": {\\n \\"PrivateKey\\": \\"-----BEGIN ENCRYPTED PRIVATE KEY-----\\\\\\\\nMII***A=\\\\\\\\n-----END ENCRYPTED PRIVATE KEY-----\\\\\\\\n\\",\\n \\"DownloadPath\\": {\\n \\"SdkUrl\\": \\"http://***\\",\\n \\"ClientCrtUrl\\": \\"http://***client.crt\\",\\n \\"CaCrtUrl\\": \\"http://***ca.crt\\",\\n \\"TrustCaUrl\\": \\"http://***trustCa\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '申请链接一条蚂蚁区块链', + 'summary' => '申请链接一条蚂蚁区块链,自动生成证书等连接信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateAntChainContractProject' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:ApplyAntChainCertificateWithKeyAutoCreation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ApproveFabricChaincodeDefinition' => [ + 'summary' => '批准2.0版本链码定义。', + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'ConsortiumId', + 'name' => 'OrganizationId', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DV80nJXq', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], ], [ - 'name' => 'ProjectName', + 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => '项目名称,只能由英文大小写、数字、常用汉字和短划线(-)的自由组合,不能有小数点、空格等特殊字符,限制在1~30个字符。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'projectname', - ], + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ProjectVersion', + 'name' => 'ChaincodeId', 'in' => 'formData', - 'schema' => [ - 'description' => '项目版本', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'v1.0.0', - ], + 'schema' => ['description' => '链码ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'code-sacc-jbkuldd3i7ad'], ], [ - 'name' => 'ProjectDescription', + 'name' => 'ChaincodePackageId', 'in' => 'formData', - 'schema' => [ - 'description' => '工程描述', - 'type' => 'string', - 'required' => false, - 'example' => 'project description', - ], + 'schema' => ['description' => '链码包ID', 'type' => 'string', 'required' => false, 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '结果', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '4261A4C3-B8B5-4555-AEBC-944C3EAB23DB', - ], - 'Result' => [ - 'description' => '请求结果', - 'type' => 'object', - 'properties' => [ - 'UpdateTime' => [ - 'description' => '更新时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563951889140', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'DV80nJXq', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563951889044', - ], - 'ProjectId' => [ - 'description' => '工程ID', - 'type' => 'string', - 'example' => 'R38DAbop', - ], - 'ProjectName' => [ - 'description' => '工程名称', - 'type' => 'string', - 'example' => 'projectname', - ], - 'ProjectVersion' => [ - 'description' => '工程版本', - 'type' => 'string', - 'example' => 'v1.0.0', - ], - 'ProjectDescription' => [ - 'description' => '工程描述', - 'type' => 'string', - 'example' => 'project description', - ], - ], - ], + 'Message' => ['description' => '接口请求返回的信息。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Result' => ['description' => '结果', '$ref' => '#/components/schemas/ChaincodeVO'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4261A4C3-B8B5-4555-AEBC-944C3EAB23DB\\",\\n \\"Result\\": {\\n \\"UpdateTime\\": 1563951889140,\\n \\"ConsortiumId\\": \\"DV80nJXq\\",\\n \\"CreateTime\\": 1563951889044,\\n \\"ProjectId\\": \\"R38DAbop\\",\\n \\"ProjectName\\": \\"projectname\\",\\n \\"ProjectVersion\\": \\"v1.0.0\\",\\n \\"ProjectDescription\\": \\"project description\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '在联盟内创建一个合约工程', - 'summary' => '在联盟内创建一个合约工程。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'CreateAntChainContractContent' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"OK\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Name\\": \\"sacc\\",\\n \\"Version\\": \\"1.1\\",\\n \\"Input\\": \\"args:\\\\\\"key\\\\\\" args:\\\\\\"val\\\\\\"\\",\\n \\"Type\\": 0,\\n \\"State\\": \\"Pending\\",\\n \\"Path\\": \\"chaincode/sacc\\",\\n \\"ChaincodeId\\": \\"code-sacc-jbkuldd3i7ad\\",\\n \\"Install\\": true,\\n \\"Message\\": \\"ok\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"DeployTime\\": \\"1533025590\\",\\n \\"ChannelName\\": \\"f100\\",\\n \\"EndorsePolicy\\": \\"OR (\\\\\\"perf9141MSP.member\\\\\\")\\",\\n \\"ConsortiumId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"ProviderId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"ProviderName\\": \\"perf9141\\",\\n \\"ChannelId\\": \\"chan-test-b0wx5suhgyb9p\\",\\n \\"Management\\": false,\\n \\"ChaincodePackageId\\": \\"sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860\\",\\n \\"InitRequired\\": false,\\n \\"ChaincodeDefinitionId\\": \\"a5f04baed775b016e8dc386783f40a2c8b13823cac22bc5fd11846cca4a13a9a\\"\\n }\\n}","type":"json"}]', + 'title' => '批准链码定义', + 'changeSet' => [ + ['createdAt' => '2022-02-28T10:34:55.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:ApproveFabricChaincodeDefinition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'BatchAddAntChainMiniAppQRCodeAuthorizedUsers' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'ProjectId', + 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '合约工程ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'bDXK1b8Z', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ'], ], [ - 'name' => 'ParentContentId', + 'name' => 'PhoneList', 'in' => 'formData', + 'style' => 'json', + 'schema' => ['description' => '新增的授权用户列表,内容为支付宝账号对应的手机号', 'type' => 'object', 'required' => true, 'docRequired' => true, 'example' => '["1380013****", "1380013****"]'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '上级目录ID', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'R38DYDop', + 'type' => 'object', + 'properties' => [ + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\"\\n}","errorExample":""},{"type":"xml","example":"<code>200</code>\\n<data>\\n <RequestId>0E3F15EC-BEE3-4416-AAE7-7BB1C5B68AAF</RequestId>\\n <Result>success</Result>\\n</data>\\n<requestId>0E3F15EC-BEE3-4416-AAE7-7BB1C5B68AAF</requestId>\\n<successResponse>true</successResponse>","errorExample":""}]', + 'title' => '批量新增蚂蚁区块链的交易二维码扫码权限', + 'summary' => '批量新增蚂蚁区块链的交易二维码扫码权限。', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [ [ - 'name' => 'ContentName', - 'in' => 'formData', - 'schema' => [ - 'description' => '新建文件/文件夹名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'newFile', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:BatchAddAntChainMiniAppQRCodeAuthorizedUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'CheckFabricConsortiumDomain' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'IsDirectory', - 'in' => 'formData', - 'schema' => [ - 'description' => '是否是文件夹', - 'type' => 'boolean', - 'required' => true, - 'docRequired' => true, - 'example' => 'false', - ], + 'AK' => [], ], + ], + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'Content', + 'name' => 'DomainCode', 'in' => 'formData', - 'schema' => [ - 'description' => '新建文件/文件夹内容', - 'type' => 'string', - 'required' => false, - 'example' => '""', - ], + 'schema' => ['description' => '联盟域名。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bank'], ], ], 'responses' => [ @@ -1237,98 +518,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'C407F102-062A-44B3-BBDC-E3B2718F633D', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '8F80A214-89FC-4348-9B3F-15446B3DC1FA'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '请求结果', + 'description' => '处理结果', 'type' => 'object', 'properties' => [ - 'ContentName' => [ - 'description' => '新建文件/文件夹名称', - 'type' => 'string', - 'example' => 'newFile', - ], - 'ParentContentId' => [ - 'description' => '上级目录ID', - 'type' => 'string', - 'example' => 'R38DYDop', - ], - 'UpdateTime' => [ - 'description' => '更新时间', - 'type' => 'string', - 'example' => '1564024964404', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1564024964404', - ], - 'ProjectId' => [ - 'description' => '合约工程ID', - 'type' => 'string', - 'example' => 'bDXK1b8Z', - ], - 'IsDirectory' => [ - 'description' => '是否是目录', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Content' => [ - 'description' => '新建文件/文件夹内容', - 'type' => 'string', - 'example' => '""', - ], - 'ContentId' => [ - 'description' => '新建文件/文件夹ID', - 'type' => 'string', - 'example' => 'R6XMn59e', - ], + 'Domain' => ['description' => '域名', 'type' => 'string', 'example' => 'bank'], + 'Valid' => ['description' => '是否合法', 'type' => 'boolean', 'example' => 'true'], + 'Prompt' => ['description' => '提示', 'type' => 'string', 'example' => 'OK'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C407F102-062A-44B3-BBDC-E3B2718F633D\\",\\n \\"Result\\": {\\n \\"ContentName\\": \\"newFile\\",\\n \\"ParentContentId\\": \\"R38DYDop\\",\\n \\"UpdateTime\\": \\"1564024964404\\",\\n \\"CreateTime\\": \\"1564024964404\\",\\n \\"ProjectId\\": \\"bDXK1b8Z\\",\\n \\"IsDirectory\\": false,\\n \\"Content\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ContentId\\": \\"R6XMn59e\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '创建合约工程内容', - 'summary' => '创建一个合约工程的内容,可以是文件或者文件夹。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8F80A214-89FC-4348-9B3F-15446B3DC1FA\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Domain\\": \\"bank\\",\\n \\"Valid\\": true,\\n \\"Prompt\\": \\"OK\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CheckFabricConsortiumDomainResponse>\\r\\n <Result>\\r\\n\\t\\t<Prompt>OK</Prompt>\\r\\n\\t\\t<Domain>bank</Domain>\\r\\n\\t\\t<Valid>true</Valid>\\r\\n\\t</Result>\\r\\n\\t<RequestId>8F80A214-89FC-4348-9B3F-15446B3DC1FA</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</CheckFabricConsortiumDomainResponse>","errorExample":""}]', + 'title' => '检查联盟域名是否可用', + 'summary' => '调用CheckFabricConsortiumDomain检查联盟域名是否可用。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteAntChainConsortium' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:CheckFabricConsortiumDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CheckFabricOrganizationDomain' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ConsortiumId', + 'name' => 'DomainCode', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'q0oWq92P', - ], + 'schema' => ['description' => '域名。', 'type' => 'string', 'required' => false, 'example' => 'bank', 'default' => 'canyouguessme'], + ], + [ + 'name' => 'Domain', + 'in' => 'formData', + 'schema' => ['description' => '域名前缀。'."\n" + ."\n" + .'不需要包含`DescribeRootDomain`接口获取的根域名。', 'type' => 'string', 'required' => false, 'example' => 'bank', 'default' => 'canyouguessme'], ], ], 'responses' => [ @@ -1336,56 +589,81 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'C30A14C7-800E-468B-9EB2-C704DA49295E'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'F3685787-9F2F-4D60-ADD6-07A5179552CA', + 'description' => '检查结果', + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => '返回用户输入的域名', 'type' => 'string', 'example' => 'bank'], + 'Valid' => ['description' => '是否有效', 'type' => 'boolean', 'example' => 'true'], + 'Prompt' => ['description' => '提示', 'type' => 'string', 'example' => 'OK'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"F3685787-9F2F-4D60-ADD6-07A5179552CA\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteAntChainConsortiumResponse>\\n <Result>success</Result>\\n <RequestId>F3685787-9F2F-4D60-ADD6-07A5179552CA</RequestId>\\n</DeleteAntChainConsortiumResponse>","errorExample":""}]', - 'title' => '删除联盟', - 'summary' => '删除联盟。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C30A14C7-800E-468B-9EB2-C704DA49295E\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Domain\\": \\"bank\\",\\n \\"Valid\\": true,\\n \\"Prompt\\": \\"OK\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CheckFabricOrganizationDomainResponse>\\r\\n\\t<Result>\\r\\n\\t\\t<Prompt>OK</Prompt>\\r\\n\\t\\t<Domain>canyouguessme</Domain>\\r\\n\\t\\t<Valid>true</Valid>\\r\\n\\t</Result>\\r\\n\\t<RequestId>C30A14C7-800E-468B-9EB2-C704DA49295E</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</CheckFabricOrganizationDomainResponse>","errorExample":""}]', + 'title' => '检查域名是否可用', + 'summary' => '调用CheckFabricOrganizationDomain检查域名是否可用。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteAntChainContractContent' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:CheckFabricOrganizationDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ConfirmFabricConsortiumMember' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ContentId', - 'in' => 'formData', + 'name' => 'ConsortiumId', + 'in' => 'query', + 'schema' => ['description' => '联盟ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-aaaaaa-akpcsjjac2jd'], + ], + [ + 'name' => 'Organization', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '文件ID', - 'type' => 'string', + 'description' => '组织列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'OrganizationId' => ['description' => '组织的ID列表。', 'type' => 'string', 'required' => true, 'example' => 'peers-aaaaaa1-1oxw31d046jtl'], + ], + 'required' => false, + 'description' => '', + ], 'required' => true, - 'docRequired' => true, - 'example' => 'GKX7KZX0', + 'maxItems' => 1000, ], ], ], @@ -1394,57 +672,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Result' => [ - 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '7E54F588-39DE-446F-9A16-B9BB0B05DF44', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '50B3ACF3-CE12-433C-A834-9E8C657A4934'], + 'Result' => ['description' => '结果', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"7E54F588-39DE-446F-9A16-B9BB0B05DF44\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteAntChainContractContentResponse>\\n <Result>success</Result>\\n <RequestId>7E54F588-39DE-446F-9A16-B9BB0B05DF44</RequestId>\\n</DeleteAntChainContractContentResponse>","errorExample":""}]', - 'title' => '删除一个合约工程的内容', - 'summary' => '删除一个合约工程的内容。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"50B3ACF3-CE12-433C-A834-9E8C657A4934\\",\\n \\"Result\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ConfirmFabricConsortiumMemberResponse>\\n <RequestId>50B3ACF3-CE12-433C-A834-9E8C657A4934</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</ConfirmFabricConsortiumMemberResponse>","errorExample":""}]', + 'title' => 'ConfirmFabricConsortiumMember', + 'summary' => '调用ConfirmFabricConsortiumMember确认联盟成员的加入申请,需要确认提案。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteAntChainContractProject' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2022-08-05T08:53:10.000Z', 'description' => '请求参数发生变更、错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:ConfirmFabricConsortiumMember', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CopyAntChainContractProject' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'formData', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'AVXeKq8R', - ], + 'schema' => ['description' => '工程ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2L9VK68g'], + ], + [ + 'name' => 'ProjectName', + 'in' => 'formData', + 'schema' => ['description' => '工程名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'copyproject'], + ], + [ + 'name' => 'ProjectVersion', + 'in' => 'formData', + 'schema' => ['description' => '工程版本', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'v1.0.1'], + ], + [ + 'name' => 'ProjectDescription', + 'in' => 'formData', + 'schema' => ['description' => '工程描述', 'type' => 'string', 'required' => false, 'example' => 'copy project description'], ], ], 'responses' => [ @@ -1452,69 +744,81 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '45D67F6F-C723-4AD8-8462-F94EE5FF22E6'], 'Result' => [ 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '4FAC5F05-FDF0-4599-9522-0120525F0145', + 'type' => 'object', + 'properties' => [ + 'UpdateTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1563953475248'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'DV80nJXq'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1563953475248'], + 'ProjectId' => ['description' => '工程ID', 'type' => 'string', 'example' => 'R6XMEdXe'], + 'ProjectName' => ['description' => '工程名称', 'type' => 'string', 'example' => 'copyproject'], + 'ProjectVersion' => ['description' => '工程版本', 'type' => 'string', 'example' => 'v1.0.1'], + 'ProjectDescription' => ['description' => '工程描述', 'type' => 'string', 'example' => 'copy project description'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"4FAC5F05-FDF0-4599-9522-0120525F0145\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteAntChainContractProjectResponse>\\n <Result>success</Result>\\n <RequestId>4FAC5F05-FDF0-4599-9522-0120525F0145</RequestId>\\n</DeleteAntChainContractProjectResponse>","errorExample":""}]', - 'title' => '在联盟内删除一个合约工程', - 'summary' => '在联盟内删除一个合约工程。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"45D67F6F-C723-4AD8-8462-F94EE5FF22E6\\",\\n \\"Result\\": {\\n \\"UpdateTime\\": 1563953475248,\\n \\"ConsortiumId\\": \\"DV80nJXq\\",\\n \\"CreateTime\\": 1563953475248,\\n \\"ProjectId\\": \\"R6XMEdXe\\",\\n \\"ProjectName\\": \\"copyproject\\",\\n \\"ProjectVersion\\": \\"v1.0.1\\",\\n \\"ProjectDescription\\": \\"copy project description\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '在联盟内复制一个已有的合约工程', + 'summary' => '在联盟内复制一个已有的合约工程。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteAntChainMiniAppQRCodeAuthorizedUser' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:CopyAntChainContractProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateAntChainAccount' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'bDXK6boZ', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ'], ], [ - 'name' => 'Phone', + 'name' => 'Account', 'in' => 'formData', - 'schema' => [ - 'description' => '被取消授权的用户,内容为支付宝账号对应的手机号', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1380013****', - ], + 'schema' => ['description' => '账号名,只能是英文大小写、数字、汉字及短划线(-)的自由组合', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test'], + ], + [ + 'name' => 'AccountPubKey', + 'in' => 'formData', + 'schema' => ['description' => '账户公钥,属于hash值,固定128个字符', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AEDC32...'], + ], + [ + 'name' => 'AccountRecoverPubKey', + 'in' => 'formData', + 'schema' => ['description' => '账户恢复公钥,属于hash值,固定128个字符', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AEDC32...'], ], ], 'responses' => [ @@ -1522,76 +826,76 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '0301F6CB-4FA6-4D03-8668-963623B63D0F'], 'Result' => [ 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', + 'type' => 'object', + 'properties' => [ + 'Account' => ['description' => '账户名', 'type' => 'string', 'example' => 'test'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => 'bDXK6boZ'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\"\\n}","errorExample":""},{"type":"xml","example":"<code>200</code>\\n<data>\\n <RequestId>DB3E99D7-2540-458E-B8D6-28DC6F0F2437</RequestId>\\n <Result>success</Result>\\n</data>\\n<requestId>DB3E99D7-2540-458E-B8D6-28DC6F0F2437</requestId>\\n<successResponse>true</successResponse>","errorExample":""}]', - 'title' => '取消蚂蚁区块链的交易二维码扫码权限', - 'summary' => '取消蚂蚁区块链的交易二维码扫码权限。', - ], - 'UpdateAntChainConsortium' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0301F6CB-4FA6-4D03-8668-963623B63D0F\\",\\n \\"Result\\": {\\n \\"Account\\": \\"test\\",\\n \\"AntChainId\\": \\"bDXK6boZ\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '在一条蚂蚁区块链上创建一个账户', + 'summary' => '在一条蚂蚁区块链上创建一个账户。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateAntChainAccount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateAntChainAccountWithKeyPairAutoCreation' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'ConsortiumId', + 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'q0oWq92P', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1q8B5R9p'], ], [ - 'name' => 'ConsortiumName', + 'name' => 'Account', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '联盟名称', - ], + 'schema' => ['description' => '账户名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'accountname'], ], [ - 'name' => 'ConsortiumDescription', + 'name' => 'Password', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟描述', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => '测试联盟', - ], + 'schema' => ['description' => '密码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'password'], + ], + [ + 'name' => 'RecoverPassword', + 'in' => 'formData', + 'schema' => ['description' => '恢复密码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '************'], ], ], 'responses' => [ @@ -1599,68 +903,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '5F058BB4-3043-4638-86D4-EED84AD1AE54'], 'Result' => [ 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1E55C947-19B4-4AAD-9D22-0B8DA8904B3D', + 'type' => 'object', + 'properties' => [ + 'AccountPublicKey' => ['description' => '账户公钥', 'type' => 'string', 'example' => 'b***7'], + 'Account' => ['description' => '账户名', 'type' => 'string', 'example' => 'accountname'], + 'AccountRecoverPrivateKey' => ['description' => '账户恢复私钥', 'type' => 'string', 'example' => '-----BEGIN ENCRYPTED PRIVATE KEY-----\\nM***Io=\\n-----END ENCRYPTED PRIVATE KEY-----\\n'], + 'AccountRecoverPublicKey' => ['description' => '账户恢复公钥', 'type' => 'string', 'example' => 'd***b'], + 'AccountPrivateKey' => ['description' => '账户私钥', 'type' => 'string', 'example' => '-----BEGIN ENCRYPTED PRIVATE KEY-----\\nM***8=\\n-----END ENCRYPTED PRIVATE KEY-----\\n'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => '1q8B5R9p'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"1E55C947-19B4-4AAD-9D22-0B8DA8904B3D\\"\\n}","errorExample":""},{"type":"xml","example":"<xml version=\\"1.0\\" encoding=\\"UTF-8\\" >\\n\\t<code>200</code>\\n\\t<data>\\n\\t\\t<RequestId>1E55C947-19B4-4AAD-9D22-0B8DA8904B3D</RequestId>\\n\\t\\t<Result>success</Result>\\n\\t</data>\\n\\t<requestId>1E55C947-19B4-4AAD-9D22-0B8DA8904B3D</requestId>\\n\\t<successResponse>true</successResponse>\\n</xml>\\n","errorExample":""}]', - 'title' => '更新联盟属性', - 'summary' => '更新联盟属性。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5F058BB4-3043-4638-86D4-EED84AD1AE54\\",\\n \\"Result\\": {\\n \\"AccountPublicKey\\": \\"b***7\\",\\n \\"Account\\": \\"accountname\\",\\n \\"AccountRecoverPrivateKey\\": \\"-----BEGIN ENCRYPTED PRIVATE KEY-----\\\\\\\\nM***Io=\\\\\\\\n-----END ENCRYPTED PRIVATE KEY-----\\\\\\\\n\\",\\n \\"AccountRecoverPublicKey\\": \\"d***b\\",\\n \\"AccountPrivateKey\\": \\"-----BEGIN ENCRYPTED PRIVATE KEY-----\\\\\\\\nM***8=\\\\\\\\n-----END ENCRYPTED PRIVATE KEY-----\\\\\\\\n\\",\\n \\"AntChainId\\": \\"1q8B5R9p\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'CreateAntChainAccountWithKeyPairAutoCreation', + 'summary' => '在一条蚂蚁区块链上创建一个账户,通过自动生成keypair 的方式。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateAntChain' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:56.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateAntChainAccountWithKeyPairAutoCreation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateAntChainConsortium' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'AntChainId', + 'name' => 'ConsortiumName', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'pYogqb9v', - ], + 'schema' => ['description' => '联盟名称,只能是英文大小写、数字、中文字符、短划线(-)的自由组合,不能有空格或特殊字符,限制1~100个字符。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '联盟名称'], ], [ - 'name' => 'AntChainName', + 'name' => 'ConsortiumDescription', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '修改名称', - ], + 'schema' => ['description' => '联盟描述,可以选填,如需填写,限制在1~255个字符。', 'type' => 'string', 'required' => false, 'example' => '联盟描述'], ], ], 'responses' => [ @@ -1668,88 +974,77 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '87FAFC6B-E7AE-4626-B7F7-AE0B88E612D5'], 'Result' => [ 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'F6A52E53-2CCB-4C3C-A44D-45FAEBC24E47', + 'type' => 'object', + 'properties' => [ + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'A28nO1ow'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"F6A52E53-2CCB-4C3C-A44D-45FAEBC24E47\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '更新一条蚂蚁区块链名字', - 'summary' => '更新一条蚂蚁区块链名字。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"87FAFC6B-E7AE-4626-B7F7-AE0B88E612D5\\",\\n \\"Result\\": {\\n \\"ConsortiumId\\": \\"A28nO1ow\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateAntChainConsortiumResponse>\\n <RequestId>87FAFC6B-E7AE-4626-B7F7-AE0B88E612D5</RequestId>\\n <Result>\\n <ConsortiumId>A28nO1ow</ConsortiumId>\\n </Result>\\n</CreateAntChainConsortiumResponse>","errorExample":""}]', + 'title' => '创建联盟', + 'summary' => '创建联盟。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateAntChainContractContent' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateAntChainConsortium', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateAntChainContractContent' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'ContentId', + 'name' => 'ProjectId', 'in' => 'formData', - 'schema' => [ - 'description' => '文件ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'R6XMn59e', - ], + 'schema' => ['description' => '合约工程ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK1b8Z'], ], [ 'name' => 'ParentContentId', 'in' => 'formData', - 'schema' => [ - 'description' => '上级目录ID', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'R38DYDop', - ], + 'schema' => ['description' => '上级目录ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'R38DYDop'], ], [ 'name' => 'ContentName', 'in' => 'formData', - 'schema' => [ - 'description' => '更新文件/文件夹名称', - 'type' => 'string', - 'required' => false, - 'example' => 'newFile', - ], + 'schema' => ['description' => '新建文件/文件夹名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'newFile'], + ], + [ + 'name' => 'IsDirectory', + 'in' => 'formData', + 'schema' => ['description' => '是否是文件夹', 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'false'], ], [ 'name' => 'Content', 'in' => 'formData', - 'schema' => [ - 'description' => '文件内容', - 'type' => 'string', - 'required' => false, - 'example' => 'update content', - ], + 'schema' => ['description' => '新建文件/文件夹内容', 'type' => 'string', 'required' => false, 'example' => '""'], ], ], 'responses' => [ @@ -1757,87 +1052,79 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'C407F102-062A-44B3-BBDC-E3B2718F633D'], 'Result' => [ 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '08CBD579-C430-4F1F-9011-C120FA1E9B97', + 'type' => 'object', + 'properties' => [ + 'ContentName' => ['description' => '新建文件/文件夹名称', 'type' => 'string', 'example' => 'newFile'], + 'ParentContentId' => ['description' => '上级目录ID', 'type' => 'string', 'example' => 'R38DYDop'], + 'UpdateTime' => ['description' => '更新时间', 'type' => 'string', 'example' => '1564024964404'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1564024964404'], + 'ProjectId' => ['description' => '合约工程ID', 'type' => 'string', 'example' => 'bDXK1b8Z'], + 'IsDirectory' => ['description' => '是否是目录', 'type' => 'boolean', 'example' => 'false'], + 'Content' => ['description' => '新建文件/文件夹内容', 'type' => 'string', 'example' => '""'], + 'ContentId' => ['description' => '新建文件/文件夹ID', 'type' => 'string', 'example' => 'R6XMn59e'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"08CBD579-C430-4F1F-9011-C120FA1E9B97\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '更新一个合约工程的内容', - 'summary' => '更新一个合约工程的内容。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C407F102-062A-44B3-BBDC-E3B2718F633D\\",\\n \\"Result\\": {\\n \\"ContentName\\": \\"newFile\\",\\n \\"ParentContentId\\": \\"R38DYDop\\",\\n \\"UpdateTime\\": \\"1564024964404\\",\\n \\"CreateTime\\": \\"1564024964404\\",\\n \\"ProjectId\\": \\"bDXK1b8Z\\",\\n \\"IsDirectory\\": false,\\n \\"Content\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ContentId\\": \\"R6XMn59e\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '创建合约工程内容', + 'summary' => '创建一个合约工程的内容,可以是文件或者文件夹。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateAntChainContractProject' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateAntChainContractContent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateAntChainContractProject' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'ProjectId', + 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '合约工程ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'bDXK1b8Z', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DV80nJXq'], ], [ 'name' => 'ProjectName', 'in' => 'formData', - 'schema' => [ - 'description' => '合约工程名称', - 'type' => 'string', - 'required' => false, - 'example' => '更新合约工程名称', - ], + 'schema' => ['description' => '项目名称,只能由英文大小写、数字、常用汉字和短划线(-)的自由组合,不能有小数点、空格等特殊字符,限制在1~30个字符。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'projectname'], ], [ 'name' => 'ProjectVersion', 'in' => 'formData', - 'schema' => [ - 'description' => '合约工程版本', - 'type' => 'string', - 'required' => false, - 'example' => 'v1.1.1', - ], + 'schema' => ['description' => '项目版本', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'v1.0.0'], ], [ 'name' => 'ProjectDescription', 'in' => 'formData', - 'schema' => [ - 'description' => '合约工程描述', - 'type' => 'string', - 'required' => false, - 'example' => '合约工程的版本描述', - ], + 'schema' => ['description' => '工程描述', 'type' => 'string', 'required' => false, 'example' => 'project description'], ], ], 'responses' => [ @@ -1845,79 +1132,163 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '4261A4C3-B8B5-4555-AEBC-944C3EAB23DB'], 'Result' => [ 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9EBD381E-A19E-4875-8771-EDA08A0416D3', + 'type' => 'object', + 'properties' => [ + 'UpdateTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1563951889140'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'DV80nJXq'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1563951889044'], + 'ProjectId' => ['description' => '工程ID', 'type' => 'string', 'example' => 'R38DAbop'], + 'ProjectName' => ['description' => '工程名称', 'type' => 'string', 'example' => 'projectname'], + 'ProjectVersion' => ['description' => '工程版本', 'type' => 'string', 'example' => 'v1.0.0'], + 'ProjectDescription' => ['description' => '工程描述', 'type' => 'string', 'example' => 'project description'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"9EBD381E-A19E-4875-8771-EDA08A0416D3\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '在联盟内更新一个合约工程的属性', - 'summary' => '在联盟内更新一个合约工程的属性。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4261A4C3-B8B5-4555-AEBC-944C3EAB23DB\\",\\n \\"Result\\": {\\n \\"UpdateTime\\": 1563951889140,\\n \\"ConsortiumId\\": \\"DV80nJXq\\",\\n \\"CreateTime\\": 1563951889044,\\n \\"ProjectId\\": \\"R38DAbop\\",\\n \\"ProjectName\\": \\"projectname\\",\\n \\"ProjectVersion\\": \\"v1.0.0\\",\\n \\"ProjectDescription\\": \\"project description\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '在联盟内创建一个合约工程', + 'summary' => '在联盟内创建一个合约工程。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateAntChainMember' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateAntChainContractProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateAntChainKmsAccountNew' => [ + 'summary' => '创建托管账户。', + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'MemberName', + 'name' => 'AntChainId', 'in' => 'formData', + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => false, 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], + ], + [ + 'name' => 'Account', + 'in' => 'formData', + 'schema' => ['description' => '账户名', 'type' => 'string', 'required' => false, 'example' => 'accountname'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '成员名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'updatename', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '063C2175-C755-5C85-9C42-5EB432B67D9B'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '返回信息', 'type' => 'string', 'example' => '没有权限'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], + 'Result' => [ + 'description' => '结果', + 'type' => 'object', + 'properties' => [ + 'PubKey' => ['description' => '托管账户公钥', 'type' => 'string', 'example' => 'd408f5c5c3c118b23646f4059c81fbe5a1b067a12f96f4a7a5e09eae10c81288cdf64aa887af89738b9ec5d16bc124594bf820a4afa24fe0de9d8dcfd1d99500'], + 'MyKmsKeyId' => ['description' => '托管账户ID', 'type' => 'string', 'example' => '1234565181228596659400e4-3bd7-4a83-b9af-d12654bb5779'], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"063C2175-C755-5C85-9C42-5EB432B67D9B\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"没有权限\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"PubKey\\": \\"d408f5c5c3c118b23646f4059c81fbe5a1b067a12f96f4a7a5e09eae10c81288cdf64aa887af89738b9ec5d16bc124594bf820a4afa24fe0de9d8dcfd1d99500\\",\\n \\"MyKmsKeyId\\": \\"1234565181228596659400e4-3bd7-4a83-b9af-d12654bb5779\\"\\n }\\n}","type":"json"}]', + 'title' => '创建蚂蚁链托管账户', + 'changeSet' => [ + ['createdAt' => '2022-06-01T09:46:44.000Z', 'description' => 'OpenAPI 下线'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateAntChainKmsAccountNew', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'CreateFabricChaincode' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'OrganizationId', + 'in' => 'formData', + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa1-1oxw31d046jtl'], + ], + [ + 'name' => 'ChannelId', + 'in' => 'formData', + 'schema' => ['description' => '通道ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chan-first-channel-1w55v3u39x2xz'], + ], [ 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'AroN3X2l', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-aaaaaa-akpcsjjac2jd'], ], [ - 'name' => 'MemberId', + 'name' => 'OssBucket', 'in' => 'formData', - 'schema' => [ - 'description' => '成员ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1287126353301234', - ], + 'schema' => ['description' => 'OSS桶地址', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'https://chaincode.oss-cn-beijing.aliyuncs.com'], + ], + [ + 'name' => 'OssUrl', + 'in' => 'formData', + 'schema' => ['description' => 'OSS对象地址', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'aaaaaa1/a0cf8729-7d47-44c9-9ed5-6d2fdfc8dc2c/sacc.cc'], + ], + [ + 'name' => 'EndorsePolicy', + 'in' => 'formData', + 'schema' => ['description' => '背书策略:'."\n" + .'- OR (\'aaaaaa1MSP.peer\',\'aaaaaa2MSP.peer\',...)表示此通道中的任何一方背书即可。'."\n" + .'- AND (\'aaaaaa1MSP.peer\',\'aaaaaa2MSP.peer\',...)表示需要此通道中的所有组织背书。 '."\n" + .'- OutOf (a,\'aaaaaa1MSP.peer\',\'aaaaaa2MSP.peer\',...):当a为1时表示此通道中的任何一方背书即可;当a为2时表示至少需要两个通道中的组织背书才行;当a等于组织数时,背书情况等同于AND。', 'type' => 'string', 'required' => false, 'example' => 'OR (\'aaaaaa1MSP.peer\')'], + ], + [ + 'name' => 'Location', + 'in' => 'formData', + 'schema' => ['description' => '位置信息', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -1925,37 +1296,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'CD264CC8-B892-4CDC-BD31-7D179EE6E396'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E', + 'description' => '创建结果', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '类型:'."\n" + .'- 0:未定义'."\n" + .'- 1:Go'."\n" + .'- 2:Node'."\n" + .'- 4:Java', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'EndorsePolicy' => ['description' => '背书策略', 'type' => 'string', 'example' => 'OR (\'aaaaaa1MSP.peer\')'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Instantiatable'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1544766801000'], + 'ChaincodeId' => ['description' => '链码ID', 'type' => 'string', 'example' => 'code-sacc-1pr09q7jmo0np'], + 'ProviderName' => ['description' => '上传者名字', 'type' => 'string', 'example' => 'peers-aaaaaa1-1oxw31d046jtl'], + 'Message' => ['description' => '消息', 'type' => 'string', 'example' => 'string'], + 'ChaincodeName' => ['description' => '链码名', 'type' => 'string', 'example' => 'mychaincode'], + 'Input' => ['description' => '输入', 'type' => 'string', 'example' => 'string'], + 'Install' => ['description' => '是否安装', 'type' => 'boolean', 'example' => 'true'], + 'ProviderId' => ['description' => '上传ID', 'type' => 'string', 'example' => 'peers-aaaaaa1-1oxw31d046jtl'], + 'DeployTime' => ['description' => '部署时间', 'type' => 'string', 'example' => '1544766801000'], + 'ChaincodeVersion' => ['description' => '链码版本', 'type' => 'string', 'example' => '1.0'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-aaaaaa-akpcsjjac2jd'], + 'ChannelName' => ['description' => '通道名', 'type' => 'string', 'example' => 'first-channel'], + 'Path' => ['description' => '路径', 'type' => 'string', 'example' => 'go-sdk-demo/chaincode/src'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E\\"\\n}","errorExample":""},{"type":"xml","example":"<xml version=\\"1.0\\" encoding=\\"UTF-8\\">\\n\\t<code>200</code>\\n\\t<data>\\n\\t\\t<RequestId>5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E</RequestId>\\n\\t\\t<Result>success</Result>\\n\\t</data>\\n\\t<requestId>5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E</requestId>\\n\\t<successResponse>true</successResponse>\\n</xml>\\n\\t\\n","errorExample":""}]', - 'title' => '更新联盟成员属性', - 'summary' => '更新联盟成员属性。', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ChaincodeDuplicated', 'errorMessage' => 'The chaincode [%s] of version [%s] already exists, please change the name or the version of the chaincode.', 'description' => ''], + ['errorCode' => 'ChaincodeInvalid', 'errorMessage' => 'The format of the chaincode package is invalid.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CD264CC8-B892-4CDC-BD31-7D179EE6E396\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Type\\": 1,\\n \\"EndorsePolicy\\": \\"OR (\'aaaaaa1MSP.peer\')\\",\\n \\"State\\": \\"Instantiatable\\",\\n \\"CreateTime\\": \\"1544766801000\\",\\n \\"ChaincodeId\\": \\"code-sacc-1pr09q7jmo0np\\",\\n \\"ProviderName\\": \\"peers-aaaaaa1-1oxw31d046jtl\\",\\n \\"Message\\": \\"string\\",\\n \\"ChaincodeName\\": \\"mychaincode\\",\\n \\"Input\\": \\"string\\",\\n \\"Install\\": true,\\n \\"ProviderId\\": \\"peers-aaaaaa1-1oxw31d046jtl\\",\\n \\"DeployTime\\": \\"1544766801000\\",\\n \\"ChaincodeVersion\\": \\"1.0\\",\\n \\"ConsortiumId\\": \\"consortium-aaaaaa-akpcsjjac2jd\\",\\n \\"ChannelName\\": \\"first-channel\\",\\n \\"Path\\": \\"go-sdk-demo/chaincode/src\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateFabricChaincodeResponse>\\n <RequestId>CD264CC8-B892-4CDC-BD31-7D179EE6E396</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Type>1</Type>\\n <EndorsePolicy>OR (\'aaaaaa1MSP.peer\')</EndorsePolicy>\\n <State>Instantiatable</State>\\n <CreateTime>1544766801000</CreateTime>\\n <ChaincodeId>code-sacc-1pr09q7jmo0np</ChaincodeId>\\n <ProviderName>peers-aaaaaa1-1oxw31d046jtl</ProviderName>\\n <Message>string</Message>\\n <ChaincodeName>mychaincode</ChaincodeName>\\n <Input>string</Input>\\n <Install>true</Install>\\n <ProviderId>peers-aaaaaa1-1oxw31d046jtl</ProviderId>\\n <DeployTime>1544766801000</DeployTime>\\n <ChaincodeVersion>1.0</ChaincodeVersion>\\n <ConsortiumId>consortium-aaaaaa-akpcsjjac2jd</ConsortiumId>\\n <ChannelName>first-channel</ChannelName>\\n <Path>go-sdk-demo/chaincode/src</Path>\\n </Result>\\n</CreateFabricChaincodeResponse>","errorExample":""}]', + 'title' => '创建链码', + 'summary' => '调用CreateFabricChaincode创建链码。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateAntChainQRCodeAuthorization' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricChaincode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateFabricChaincodePackage' => [ + 'summary' => '创建2.0版本链码定义。', + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1963,117 +1371,120 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'AntChainId', + 'name' => 'OrganizationId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'bDXK6boZ', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], ], [ - 'name' => 'QRCodeType', + 'name' => 'OssUrl', 'in' => 'formData', - 'schema' => [ - 'description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MINI_APP_BROWSER_TRANSACTION', - ], + 'schema' => ['description' => '链码包存放bucket内路径', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz'], ], [ - 'name' => 'AuthorizationType', + 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => '授权类型, 当前可选值为 ALL_USER_AUTHORIZATION 代表授权所有用户,SPECIFIC_USER_AUTHORIZATION 代表授权部分用户,UNAUTHORIZED 代表未授权 ', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ALL_USER_AUTHORIZATION', - ], + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '结果', 'type' => 'object', 'properties' => [ - 'Result' => [ - 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], + 'Message' => ['description' => '信息', 'type' => 'string', 'example' => 'ok'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Result' => ['description' => '结果', '$ref' => '#/components/schemas/ChaincodePackage'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateAntChainQRCodeAuthorizationResponse>\\n <Result>success</Result>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n</UpdateAntChainQRCodeAuthorizationResponse>","errorExample":""}]', - 'title' => '设置蚂蚁区块链的交易二维码授权状态', - 'summary' => '设置蚂蚁区块链的交易二维码授权状态。', - ], - 'DescribeAntChainMiniAppBrowserTransactionQRCodeNew' => [ - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ChaincodeDuplicated', 'errorMessage' => 'The chaincode [%s] of version [%s] already exists, please change the name or the version of the chaincode.', 'description' => ''], + ['errorCode' => 'ChaincodeInvalid', 'errorMessage' => 'The format of the chaincode package is invalid.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"ok\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"Label\\": \\"label\\",\\n \\"Checksum\\": \\"15bab12c29edbc095c33545b9867aec9be469c74a6dd5783df6ee74a24334c77\\",\\n \\"ChaincodePackageId\\": \\"cmcc-1.5:227c3cd472a8a2fcaa1c63f15812a1894348a985dc723006dd47d9f2848d10ed\\",\\n \\"Md5sum\\": \\"N02eVKuRJDA2ODtieMUxVw==\\",\\n \\"ProviderUid\\": \\"1313158505072210\\",\\n \\"ProviderBid\\": \\"26842\\",\\n \\"Type\\": 0,\\n \\"TypeName\\": \\"golang\\",\\n \\"UploadTime\\": \\"1533025590\\",\\n \\"InstallTime\\": \\"1533025590\\",\\n \\"State\\": \\"Running\\",\\n \\"OssURL\\": \\"hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz\\",\\n \\"DeleteTime\\": \\"1533025590\\",\\n \\"Deleted\\": false,\\n \\"Message\\": \\"ok\\"\\n }\\n}","type":"json"}]', + 'title' => '创建链码包定义', + 'changeSet' => [ + ['createdAt' => '2022-02-28T10:34:55.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricChaincodePackage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateFabricChannel' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'AntChainId', + 'name' => 'ConsortiumId', + 'in' => 'query', + 'schema' => ['description' => '联盟ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-aaaaaa-akpcsjjac2jd'], + ], + [ + 'name' => 'ChannelName', + 'in' => 'query', + 'schema' => ['description' => '通道名。最大长度50个字符,可以包含英文或数字及符号"_", "-", "."。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'channelx'], + ], + [ + 'name' => 'BatchTimeout', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'bDXK6boZ', - ], + 'schema' => ['description' => '块超时时间。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'], ], [ - 'name' => 'TransactionHash', + 'name' => 'MaxMessageCount', 'in' => 'formData', - 'schema' => [ - 'description' => '交易哈希值', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '4a1f1371012cf840a9e4c6bde430d5ba600e422e592d153bd2689783cd1f87d0', - ], + 'schema' => ['description' => '块交易上限。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], ], [ - 'name' => 'ContractId', + 'name' => 'PreferredMaxBytes', 'in' => 'formData', + 'schema' => ['description' => '块大小软限制。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12'], + ], + [ + 'name' => 'Organization', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '合约ID', - 'type' => 'string', - 'required' => false, - 'example' => '9782291a957d28bec9e02f3dcb27d78392815ede7670b70793e0fd9763309cda', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => '加入通道的组织ID号列表,输入:`Organization.1.Id=org1&Organization.2.Id=org2`。', 'type' => 'string', 'required' => false, 'example' => 'peers-aaaaaa1-1oxw31d046jtl'], + ], + 'required' => false, + 'description' => '', + ], + 'required' => true, + 'maxItems' => 1000, + 'description' => '', ], ], ], @@ -2082,119 +1493,100 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '请求结果', + 'description' => '创建结果', 'type' => 'object', 'properties' => [ - 'Base64QRCodePNG' => [ - 'description' => 'Base64编码的二维码 png 图片', - 'type' => 'string', - 'example' => 'iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAIAAACxN37FAAAcb0lEQVR42u3dCZAc1XkAYGlPSRZIGIwEtos4tlM4lE05hhBsU', - ], - 'QRCodeContent' => [ - 'description' => '二维码内容', - 'type' => 'string', - 'example' => 'https://render.antfin.com/p/s/miniapp-web/?type=trans&from=aliyun&bizid=8bd720bde18c4b37b0f4a1c7834db163&hash=ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1&contractId=', - ], - 'TransactionHash' => [ - 'description' => '交易Hash', - 'type' => 'string', - 'example' => 'ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], + 'BatchTimeout' => ['description' => '块超时时间', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'UpdateTime' => ['description' => '更新时间', 'type' => 'string', 'example' => '1544768139624'], + 'ChaincodeCount' => ['description' => '链码数量', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'PreferredMaxBytes' => ['description' => '块大小软限制', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Running'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1544768139624'], + 'OwnerName' => ['description' => '创建者', 'type' => 'string', 'example' => 'uid-'], + 'OwnerUid' => ['description' => '创建者Uid', 'type' => 'integer', 'format' => 'int64', 'example' => '1234'], + 'OwnerBid' => ['description' => '创建者Bid', 'type' => 'string', 'example' => '26842'], + 'MaxMessageCount' => ['description' => '块交易上限', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'MemberCount' => ['description' => '成员数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-aaaaaa-akpcsjjac2jd'], + 'ChannelName' => ['description' => '通道名', 'type' => 'string', 'example' => 'channelx'], + 'SupportConfig' => ['description' => '是否支持配置', 'type' => 'boolean', 'example' => 'true'], + 'ChannelId' => ['description' => '通道ID', 'type' => 'string', 'example' => 'chan-channelx-1l1hmckuuisxo'], + 'ConsortiumName' => ['description' => '联盟名', 'type' => 'string', 'example' => 'aaaaaa'], + 'BlockCount' => ['description' => '块个数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"Base64QRCodePNG\\": \\"iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAIAAACxN37FAAAcb0lEQVR42u3dCZAc1XkAYGlPSRZIGIwEtos4tlM4lE05hhBsU\\",\\n \\"QRCodeContent\\": \\"https://render.antfin.com/p/s/miniapp-web/?type=trans&from=aliyun&bizid=8bd720bde18c4b37b0f4a1c7834db163&hash=ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1&contractId=\\",\\n \\"TransactionHash\\": \\"ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1\\",\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <Base64QRCodePNG>iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAIAAACxN37FAAAcb0lEQVR42u3dCZAc1XkAYGlPSRZIGIwEtos4tlM4lE05hhBsU</Base64QRCodePNG>\\n <QRCodeContent>https://render.antfin.com/p/s/miniapp-web/?type=trans&from=aliyun&bizid=8bd720bde18c4b37b0f4a1c7834db163&hash=ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1&contractId=</QRCodeContent>\\n <TransactionHash>ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1</TransactionHash>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n </Result>\\n</DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse>","errorExample":""}]', - 'title' => '获取蚂蚁区块链交易二维码', - 'summary' => '获取蚂蚁区块链交易二维码(仅适用于阿里云国内站)。', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ChannelNameDuplicated', 'errorMessage' => '%s', 'description' => ''], + ['errorCode' => 'InvalidParameter.%s', 'errorMessage' => '%s', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"BatchTimeout\\": 2,\\n \\"UpdateTime\\": \\"1544768139624\\",\\n \\"ChaincodeCount\\": 2,\\n \\"PreferredMaxBytes\\": 12,\\n \\"State\\": \\"Running\\",\\n \\"CreateTime\\": \\"1544768139624\\",\\n \\"OwnerName\\": \\"uid-\\",\\n \\"OwnerUid\\": 1234,\\n \\"OwnerBid\\": \\"26842\\",\\n \\"MaxMessageCount\\": 50,\\n \\"MemberCount\\": 1,\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ConsortiumId\\": \\"consortium-aaaaaa-akpcsjjac2jd\\",\\n \\"ChannelName\\": \\"channelx\\",\\n \\"SupportConfig\\": true,\\n \\"ChannelId\\": \\"chan-channelx-1l1hmckuuisxo\\",\\n \\"ConsortiumName\\": \\"aaaaaa\\",\\n \\"BlockCount\\": 2\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateFabricChannelResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <BatchTimeout>2</BatchTimeout>\\n <UpdateTime>1544768139624</UpdateTime>\\n <ChaincodeCount>2</ChaincodeCount>\\n <PreferredMaxBytes>12</PreferredMaxBytes>\\n <State>Running</State>\\n <CreateTime>1544768139624</CreateTime>\\n <OwnerName>uid-</OwnerName>\\n <OwnerUid>1234</OwnerUid>\\n <OwnerBid>26842</OwnerBid>\\n <MaxMessageCount>50</MaxMessageCount>\\n <MemberCount>1</MemberCount>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ConsortiumId>consortium-aaaaaa-akpcsjjac2jd</ConsortiumId>\\n <ChannelName>channelx</ChannelName>\\n <SupportConfig>true</SupportConfig>\\n <ChannelId>chan-channelx-1l1hmckuuisxo</ChannelId>\\n <ConsortiumName>aaaaaa</ConsortiumName>\\n <BlockCount>2</BlockCount>\\n </Result>\\n</CreateFabricChannelResponse>","errorExample":""}]', + 'title' => 'CreateFabricChannel', + 'summary' => '调用CreateFabricChannel创建通道。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainQRCodeAuthorizationV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricChannel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateFabricChannelMember' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'AntChainId', - 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], + 'name' => 'ChannelId', + 'in' => 'query', + 'schema' => ['description' => '通道ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chan-channelx-1l1hmckuuisxo'], ], [ - 'name' => 'QRCodeType', - 'in' => 'formData', + 'name' => 'Organization', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', - 'type' => 'string', + 'description' => '组织列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'example' => 'peers-aaaaaa1-1oxw31d046jtl'], + ], + 'required' => false, + 'description' => '', + ], 'required' => true, - 'docRequired' => true, - 'example' => 'MINI_APP_BROWSER_TRANSACTION', + 'maxItems' => 1000, ], ], ], @@ -2203,131 +1595,134 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '980061FC-058D-4298-8598-D9DDB10D0ED4', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '返回消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Result' => [ - 'description' => '请求结果', - 'type' => 'object', - 'properties' => [ - 'QRCodeType' => [ - 'description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', - 'type' => 'string', - 'example' => 'MINI_APP_BROWSER_TRANSACTION', - ], - 'AuthorizationType' => [ - 'description' => '授权类型, 当前可选值为 ALL_USER_AUTHORIZATION 代表授权所有用户,SPECIFIC_USER_AUTHORIZATION 代表授权部分用户,UNAUTHORIZED 代表未授权', - 'type' => 'string', - 'example' => 'ALL_USER_AUTHORIZATION', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Result' => ['description' => '结果', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"980061FC-058D-4298-8598-D9DDB10D0ED4\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"QRCodeType\\": \\"MINI_APP_BROWSER_TRANSACTION\\",\\n \\"AuthorizationType\\": \\"ALL_USER_AUTHORIZATION\\",\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainQRCodeAuthorizationV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>980061FC-058D-4298-8598-D9DDB10D0ED4</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <QRCodeType>MINI_APP_BROWSER_TRANSACTION</QRCodeType>\\n <AuthorizationType>ALL_USER_AUTHORIZATION</AuthorizationType>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n </Result>\\n</DescribeAntChainQRCodeAuthorizationV2Response>","errorExample":""}]', - 'title' => '查询交易二维码授权状态', - 'summary' => '查询蚂蚁区块链交易二维码授权状态。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Result\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<CreateFabricChannelMemberResponse>\\r\\n\\t<Result>true</Result>\\r\\n\\t<RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</CreateFabricChannelMemberResponse>","errorExample":""}]', + 'title' => 'CreateFabricChannelMember', + 'summary' => '调用CreateFabricChannelMember将其他组织添加到通道中。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainsV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2022-08-05T08:53:10.000Z', 'description' => '请求参数发生变更、错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricChannelMember', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateFabricConsortium' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => '分页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '2147483647', - 'minimum' => '0', - 'example' => '10', - ], + 'schema' => ['description' => '实例所在的位置信息,和**RegionId**一致', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'PageNumber', + 'name' => 'OrdererType', 'in' => 'formData', - 'schema' => [ - 'description' => '分页号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'maximum' => '2147483647', - 'minimum' => '0', - 'example' => '1', - ], + 'schema' => ['description' => 'Orderer类型:'."\n" + .'- kafka (不再支持)'."\n" + .'- etcdraft', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'etcdraft'], ], [ - 'name' => 'ConsortiumId', + 'name' => 'ZoneId', 'in' => 'formData', + 'schema' => ['description' => '区域', 'type' => 'string', 'required' => false, 'example' => 'random'], + ], + [ + 'name' => 'ConsortiumName', + 'in' => 'formData', + 'schema' => ['description' => '联盟名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'aaaaa'], + ], + [ + 'name' => 'Domain', + 'in' => 'formData', + 'schema' => ['description' => '域名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'helloworld'], + ], + [ + 'name' => 'ConsortiumDescription', + 'in' => 'formData', + 'schema' => ['description' => '联盟描述', 'type' => 'string', 'required' => false, 'example' => 'some'], + ], + [ + 'name' => 'ChannelPolicy', + 'in' => 'formData', + 'schema' => ['description' => '创建通道策略', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all'], + ], + [ + 'name' => 'SpecName', + 'in' => 'formData', + 'schema' => ['description' => '规格:'."\n" + .'- starter 体验版'."\n" + .'- basic 基础版'."\n" + .'- enterprise 企业版'."\n" + .'- enterprise-sgx 企业安全版', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'basic'], + ], + [ + 'name' => 'OrderersCount', + 'in' => 'formData', + 'schema' => ['description' => 'Orderer数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'], + ], + [ + 'name' => 'PeersCount', + 'in' => 'formData', + 'schema' => ['description' => 'Peer数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'], + ], + [ + 'name' => 'PaymentDurationUnit', + 'in' => 'formData', + 'schema' => ['description' => '周期单位', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'month'], + ], + [ + 'name' => 'PaymentDuration', + 'in' => 'formData', + 'schema' => ['description' => '计费周期', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '2'], + ], + [ + 'name' => 'Organization', + 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'M8GaMEyX', + 'description' => '组织列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'required' => false, 'example' => 'peers-yidio-1tuigx42b1goc'], + ], + 'required' => false, + 'description' => '', + ], + 'required' => false, + 'maxItems' => 100, ], ], ], @@ -2336,229 +1731,103 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'DBD6C69E-22B9-419E-B072-7A715F3AA330', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果信息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '请求结果', + 'description' => '结果', 'type' => 'object', 'properties' => [ - 'IsExist' => [ - 'description' => '是否存在', - 'type' => 'boolean', - 'example' => 'true', - ], - 'AntChains' => [ - 'description' => '区块链信息', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ExpireTime' => [ - 'description' => '过期时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1672329600000', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1609221924000', - ], - 'RestStatus' => [ - 'description' => 'Rest状态', - 'type' => 'string', - 'example' => 'CREATE', - ], - 'ChainType' => [ - 'description' => '区块链的类型', - 'type' => 'string', - 'example' => 'Contract', - ], - 'IsAdmin' => [ - 'description' => '是否为管理员', - 'type' => 'boolean', - 'example' => 'false', - ], - 'MerkleTreeSuit' => [ - 'description' => 'Merkle树类型', - 'type' => 'string', - 'example' => 'fdmt', - ], - 'MemberStatus' => [ - 'description' => '成员状态', - 'type' => 'string', - 'example' => 'ChainApplied', - ], - 'InstanceId' => [ - 'description' => '实例ID', - 'type' => 'string', - 'example' => 'ALIYUN202012291405173265824745109', - ], - 'RegionId' => [ - 'description' => '区域信息', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'AntChainName' => [ - 'description' => '区块链名称', - 'type' => 'string', - 'example' => '专业链', - ], - 'Network' => [ - 'description' => '网络信息', - 'type' => 'string', - 'example' => 'Running', - ], - 'MonitorStatus' => [ - 'description' => '监控状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'TlsAlgo' => [ - 'description' => 'TLS加密算法', - 'type' => 'string', - 'example' => 'rsa', - ], - 'Version' => [ - 'description' => '详细版本', - 'type' => 'string', - 'example' => '2.19.1', - ], - 'CipherSuit' => [ - 'description' => '加密套件类型', - 'type' => 'string', - 'example' => 'classic', - ], - 'ResourceSize' => [ - 'description' => '资源类型', - 'type' => 'string', - 'example' => 'Basic', - ], - 'NodeNum' => [ - 'description' => '节点数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], - ], - ], - ], - 'Pagination' => [ - 'description' => '分页信息', - 'type' => 'object', - 'properties' => [ - 'PageSize' => [ - 'description' => '分页大小', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '分页号', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - ], - ], + 'ChannelCount' => ['description' => '通道数量', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Domain' => ['description' => '域名', 'type' => 'string', 'example' => 'hello'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1544086901984'], + 'SpecName' => ['description' => '规格', 'type' => 'string', 'example' => 'basic'], + 'OrdererCount' => ['description' => 'orderer数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ServiceState' => ['description' => '服务状态', 'type' => 'string', 'example' => 'Pending'], + 'ClusterState' => ['description' => '集群状态', 'type' => 'string', 'example' => 'Pending'], + 'OwnerUid' => ['description' => '创建者uid', 'type' => 'integer', 'format' => 'int64', 'example' => '1019556'], + 'OwnerBid' => ['description' => '创建者bid', 'type' => 'string', 'example' => '26842'], + 'CodeName' => ['description' => '域名', 'type' => 'string', 'example' => 'lianmenyumingyi'], + 'RegionId' => ['description' => '地域', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'MemberCount' => ['description' => '成员数量', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'ChannelPolicy' => ['description' => '通道策略', 'type' => 'string', 'example' => 'Any'], + 'OrdererType' => ['description' => 'orderer类型', 'type' => 'string', 'example' => 'Kafka'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => 'string'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7'], + 'ZoneId' => ['description' => '区域', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'ConsortiumName' => ['description' => '联盟名', 'type' => 'string', 'example' => 'myconsortium'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"DBD6C69E-22B9-419E-B072-7A715F3AA330\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"IsExist\\": true,\\n \\"AntChains\\": [\\n {\\n \\"ExpireTime\\": 1672329600000,\\n \\"CreateTime\\": 1609221924000,\\n \\"RestStatus\\": \\"CREATE\\",\\n \\"ChainType\\": \\"Contract\\",\\n \\"IsAdmin\\": false,\\n \\"MerkleTreeSuit\\": \\"fdmt\\",\\n \\"MemberStatus\\": \\"ChainApplied\\",\\n \\"InstanceId\\": \\"ALIYUN202012291405173265824745109\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"AntChainName\\": \\"专业链\\",\\n \\"Network\\": \\"Running\\",\\n \\"MonitorStatus\\": true,\\n \\"TlsAlgo\\": \\"rsa\\",\\n \\"Version\\": \\"2.19.1\\",\\n \\"CipherSuit\\": \\"classic\\",\\n \\"ResourceSize\\": \\"Basic\\",\\n \\"NodeNum\\": 4,\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 2\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainsV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>DBD6C69E-22B9-419E-B072-7A715F3AA330</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <IsExist>true</IsExist>\\n <AntChains>\\n <ExpireTime>1672329600000</ExpireTime>\\n <CreateTime>1609221924000</CreateTime>\\n <RestStatus>CREATE</RestStatus>\\n <ChainType>Contract</ChainType>\\n <IsAdmin>false</IsAdmin>\\n <MerkleTreeSuit>fdmt</MerkleTreeSuit>\\n <MemberStatus>ChainApplied</MemberStatus>\\n <InstanceId>ALIYUN202012291405173265824745109</InstanceId>\\n <RegionId>cn-hangzhou</RegionId>\\n <AntChainName>专业链</AntChainName>\\n <Network>Running</Network>\\n <MonitorStatus>true</MonitorStatus>\\n <TlsAlgo>rsa</TlsAlgo>\\n <Version>2.19.1</Version>\\n <CipherSuit>classic</CipherSuit>\\n <ResourceSize>Basic</ResourceSize>\\n <NodeNum>4</NodeNum>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n </AntChains>\\n <Pagination>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>2</TotalCount>\\n </Pagination>\\n </Result>\\n</DescribeAntChainsV2Response>","errorExample":""}]', - 'title' => '获取联盟内的蚂蚁区块链列表', - 'summary' => '获取联盟内的蚂蚁区块链列表(仅适用于阿里云国内站)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"ChannelCount\\": 0,\\n \\"Domain\\": \\"hello\\",\\n \\"CreateTime\\": \\"1544086901984\\",\\n \\"SpecName\\": \\"basic\\",\\n \\"OrdererCount\\": 1,\\n \\"ServiceState\\": \\"Pending\\",\\n \\"ClusterState\\": \\"Pending\\",\\n \\"OwnerUid\\": 1019556,\\n \\"OwnerBid\\": \\"26842\\",\\n \\"CodeName\\": \\"lianmenyumingyi\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"MemberCount\\": 2,\\n \\"ChannelPolicy\\": \\"Any\\",\\n \\"OrdererType\\": \\"Kafka\\",\\n \\"Description\\": \\"string\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwlulg7\\",\\n \\"ZoneId\\": \\"cn-hangzhou\\",\\n \\"ConsortiumName\\": \\"myconsortium\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateFabricConsortiumResponse>\\r\\n<result>\\r\\n\\t\\t<CodeName>阿里巴巴集团区块链联盟</CodeName>\\r\\n\\t\\t<ClusterState>Pending</ClusterState>\\r\\n\\t\\t<ConsortiumId>c-93k8d34jy79y79</ConsortiumId>\\r\\n\\t\\t<CreateTime>1999-05-10 09:00:00</CreateTime>\\r\\n\\t\\t<OwnerBid>12312</OwnerBid>\\r\\n\\t\\t<OrdererCount>1</OrdererCount>\\r\\n\\t\\t<OrdererType>kafka</OrdererType>\\r\\n\\t\\t<ConsortiumName>阿里巴巴集团</ConsortiumName>\\r\\n\\t\\t<OrganizationCount>3</OrganizationCount>\\r\\n\\t\\t<ChannelCount>0</ChannelCount>\\r\\n\\t\\t<ChannelPolicy>ANY</ChannelPolicy>\\r\\n\\t\\t<Description>string</Description>\\r\\n\\t\\t<Domain>domain</Domain>\\r\\n\\t\\t<MemberCount>2</MemberCount>\\r\\n\\t\\t<ServiceState>Pending</ServiceState>\\r\\n\\t</result>\\r\\n\\t<RequestId>2537DB1B-F478-431E-A847-5DDAAE2BD251</RequestId>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n\\t<Success>true</Success>\\r\\n</CreateFabricConsortiumResponse>","errorExample":""}]', + 'title' => 'CreateFabricConsortium', + 'summary' => '调用CreateFabricConsortium创建联盟。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainNodesV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricConsortium', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateFabricConsortiumMember' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'AntChainId', - 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], + 'name' => 'ConsortiumId', + 'in' => 'query', + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-aaaaaa-akpcsjjac2jd'], ], [ - 'name' => 'ConsortiumId', - 'in' => 'formData', + 'name' => 'Code', + 'in' => 'query', + 'schema' => ['description' => '邀请码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '200'], + ], + [ + 'name' => 'Organization', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => false, - 'example' => 'M8GaMEyX', + 'description' => '组织列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'required' => false, 'example' => 'peers-aaaaaa1-1oxw31d046jtl'], + ], + 'required' => false, + 'description' => '', + ], + 'required' => true, + 'maxItems' => 1000, ], ], ], @@ -2567,102 +1836,94 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Result' => [ - 'type' => 'array', - 'items' => [ - 'description' => '请求结果', - 'type' => 'string', - 'example' => '[]', - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Result' => ['description' => '结果', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": [\\n \\"[]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainNodesV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>[]</Result>\\n</DescribeAntChainNodesV2Response>","errorExample":""}]', - 'title' => '查询蚂蚁区块链节点信息列表', - 'summary' => '查询一条蚂蚁区块链的节点信息列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Result\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<CreateFabricConsortiumMemberResponse>\\r\\n\\t<Result>true</Result>\\r\\n\\t<RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</CreateFabricConsortiumMemberResponse>","errorExample":""}]', + 'title' => 'CreateFabricConsortiumMember', + 'summary' => '调用CreateFabricConsortiumMember创建一个组织加入联盟的提案。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainMiniAppBrowserQRCodeAccessLogV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricConsortiumMember', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateFabricOrganization' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'AntChainId', + 'name' => 'OrganizationName', + 'in' => 'query', + 'schema' => ['description' => '名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'name'], + ], + [ + 'name' => 'Location', + 'in' => 'query', + 'schema' => ['description' => '区域', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '域名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'domain'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '描述', 'type' => 'string', 'required' => false, 'example' => 'description'], + ], + [ + 'name' => 'SpecName', + 'in' => 'query', + 'schema' => ['description' => '规格名:'."\n" + .'- starter:体验版'."\n" + .'- basic:基础版'."\n" + .'- enterprise:企业版'."\n" + .'- enterprise-sgx:企业安全版'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'basic'], + ], + [ + 'name' => 'PeersCount', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], + 'schema' => ['description' => '节点数据量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'], ], [ - 'name' => 'QRCodeType', + 'name' => 'PaymentDuration', 'in' => 'formData', - 'schema' => [ - 'description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MINI_APP_BROWSER_TRANSACTION', - ], + 'schema' => ['description' => '计费周期', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '12'], + ], + [ + 'name' => 'PaymentDurationUnit', + 'in' => 'formData', + 'schema' => ['description' => '周期单位', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2'], ], ], 'responses' => [ @@ -2670,126 +1931,92 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => ' '."\n" - .'请求结果', + 'description' => '结果', 'type' => 'object', 'properties' => [ - 'AccessAlipayAccountCount' => [ - 'description' => '总查询账号数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'AccessCount' => [ - 'description' => '总查询次数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], + 'Domain' => ['description' => '域名', 'type' => 'string', 'example' => 'domain'], + 'PeerCount' => ['description' => '组织节点数目', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1544086901984'], + 'ConsortiumCount' => ['description' => '联盟数量', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'SpecName' => ['description' => '节点规格', 'type' => 'string', 'example' => 'baisc'], + 'ServiceState' => ['description' => '服务状态', 'type' => 'string', 'example' => 'Pending'], + 'OwnerName' => ['description' => '所有者名称', 'type' => 'string', 'example' => 'name'], + 'ClusterState' => ['description' => '集群状态', 'type' => 'string', 'example' => 'Pending'], + 'OwnerUid' => ['description' => '所有者用户ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1019556'], + 'OwnerBid' => ['description' => '所有者业务代码', 'type' => 'string', 'example' => '26842'], + 'CodeName' => ['description' => '域名代码', 'type' => 'string', 'example' => 'name'], + 'OrganizationDescription' => ['description' => '组织描述', 'type' => 'string', 'example' => 'desc'], + 'RegionId' => ['description' => '组织节点所在区域', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'example' => 'zuzhiyumingyi-hc5d1bwlulg7'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'ZoneId' => ['description' => '组织节点所在可用区', 'type' => 'string', 'example' => 'zone'], + 'UserCount' => ['description' => '组织用户数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'OrganizationName' => ['description' => '组织名称', 'type' => 'string', 'example' => 'zuzhiyumingyi'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"AccessAlipayAccountCount\\": 10,\\n \\"AccessCount\\": 100\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <AccessAlipayAccountCount>10</AccessAlipayAccountCount>\\n <AccessCount>100</AccessCount>\\n </Result>\\n</DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response>","errorExample":""}]', - 'title' => '查询蚂蚁区块链支付宝端扫码统计信息', - 'summary' => '查询蚂蚁区块链的交易二维码支付宝端扫码统计信息。', - ], - 'DescribeAntChainMembersV2' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Domain\\": \\"domain\\",\\n \\"PeerCount\\": 3,\\n \\"CreateTime\\": \\"1544086901984\\",\\n \\"ConsortiumCount\\": 2,\\n \\"SpecName\\": \\"baisc\\",\\n \\"ServiceState\\": \\"Pending\\",\\n \\"OwnerName\\": \\"name\\",\\n \\"ClusterState\\": \\"Pending\\",\\n \\"OwnerUid\\": 1019556,\\n \\"OwnerBid\\": \\"26842\\",\\n \\"CodeName\\": \\"name\\",\\n \\"OrganizationDescription\\": \\"desc\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"OrganizationId\\": \\"zuzhiyumingyi-hc5d1bwlulg7\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ZoneId\\": \\"zone\\",\\n \\"UserCount\\": 2,\\n \\"OrganizationName\\": \\"zuzhiyumingyi\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateFabricOrganizationResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Domain>domain</Domain>\\n <PeerCount>3</PeerCount>\\n <CreateTime>1544086901984</CreateTime>\\n <ConsortiumCount>2</ConsortiumCount>\\n <SpecName>baisc</SpecName>\\n <ServiceState>Pending</ServiceState>\\n <OwnerName>name</OwnerName>\\n <ClusterState>Pending</ClusterState>\\n <OwnerUid>1019556</OwnerUid>\\n <OwnerBid>26842</OwnerBid>\\n <CodeName>name</CodeName>\\n <OrganizationDescription>desc</OrganizationDescription>\\n <RegionId>cn-hangzhou</RegionId>\\n <OrganizationId>zuzhiyumingyi-hc5d1bwlulg7</OrganizationId>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ZoneId>zone</ZoneId>\\n <UserCount>2</UserCount>\\n <OrganizationName>zuzhiyumingyi</OrganizationName>\\n </Result>\\n</CreateFabricOrganizationResponse>","errorExample":""}]', + 'title' => '创建组织', + 'summary' => '调用CreateFabricOrganization创建组织。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricOrganization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateFabricOrganizationUser' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'OrganizationId', 'in' => 'formData', - 'schema' => [ - 'description' => '页面包含条例数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '2147483647', - 'minimum' => '0', - 'example' => '10', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-yidio-1tuigx42b****'], ], [ - 'name' => 'PageNumber', + 'name' => 'Username', 'in' => 'formData', - 'schema' => [ - 'description' => '页面编号,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'maximum' => '2147483647', - 'minimum' => '0', - 'example' => '1', - ], + 'schema' => ['description' => '用户名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'username'], ], [ - 'name' => 'ConsortiumId', + 'name' => 'Password', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'M8GaMEyX', - ], + 'schema' => ['description' => '密码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'password'], + ], + [ + 'name' => 'Attrs', + 'in' => 'formData', + 'schema' => ['description' => 'ABAC属性', 'type' => 'string', 'required' => false, 'example' => 'foo=foo1,bar=bar1'], ], ], 'responses' => [ @@ -2797,158 +2024,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '请求结果', + 'description' => '结果', 'type' => 'object', 'properties' => [ - 'Members' => [ - 'description' => '联盟成员', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '成员身份', - 'type' => 'string', - 'example' => 'AllianceJoined', - ], - 'MemberId' => [ - 'description' => '成员ID', - 'type' => 'string', - 'example' => '1034774750177934', - ], - 'Role' => [ - 'description' => '加入联盟状态', - 'type' => 'string', - 'example' => 'Member', - ], - 'MemberName' => [ - 'description' => '成员名称', - 'type' => 'string', - 'example' => 'uid-1034774750177934', - ], - 'JoinTime' => [ - 'description' => '成员加入联盟时戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1609745002000', - ], - ], - ], - ], - 'Pagination' => [ - 'description' => '分页信息', - 'type' => 'object', - 'properties' => [ - 'PageSize' => [ - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '页面编号,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - ], - ], + 'Password' => ['description' => '密码', 'type' => 'string', 'example' => 'password'], + 'ExpireTime' => ['description' => '过期时间', 'type' => 'string', 'example' => '1544411108000'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1544086901984'], + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'example' => 'peers-yidio-1tuigx42b****'], + 'Username' => ['description' => '用户名', 'type' => 'string', 'example' => 'username'], + 'Fullname' => ['description' => '全名', 'type' => 'string', 'example' => 'fullname'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"Members\\": [\\n {\\n \\"Status\\": \\"AllianceJoined\\",\\n \\"MemberId\\": \\"1034774750177934\\",\\n \\"Role\\": \\"Member\\",\\n \\"MemberName\\": \\"uid-1034774750177934\\",\\n \\"JoinTime\\": 1609745002000\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 100\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainMembersV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <Members>\\n <Status>AllianceJoined</Status>\\n <MemberId>1034774750177934</MemberId>\\n <Role>Member</Role>\\n <MemberName>uid-1034774750177934</MemberName>\\n <JoinTime>1609745002000</JoinTime>\\n </Members>\\n <Pagination>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>100</TotalCount>\\n </Pagination>\\n </Result>\\n</DescribeAntChainMembersV2Response>","errorExample":""}]', - 'title' => '获取联盟成员列表', - 'summary' => '获取联盟成员列表(仅适用于阿里云国内站)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Password\\": \\"password\\",\\n \\"ExpireTime\\": \\"1544411108000\\",\\n \\"CreateTime\\": \\"1544086901984\\",\\n \\"OrganizationId\\": \\"peers-yidio-1tuigx42b****\\",\\n \\"Username\\": \\"username\\",\\n \\"Fullname\\": \\"fullname\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateFabricOrganizationUserResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Password>password</Password>\\n <ExpireTime>1544411108000</ExpireTime>\\n <CreateTime>1544086901984</CreateTime>\\n <OrganizationId>peers-yidio-1tuigx42b****</OrganizationId>\\n <Username>username</Username>\\n <Fullname>fullname</Fullname>\\n </Result>\\n</CreateFabricOrganizationUserResponse>","errorExample":""}]', + 'title' => '创建组织用户', + 'summary' => '调用CreateFabricOrganizationUser创建组织用户。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainDownloadPathsV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricOrganizationUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteAntChainConsortium' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'AntChainId', - 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], - ], - [ 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => false, - 'example' => 'M8GaMEyX', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'q0oWq92P'], ], ], 'responses' => [ @@ -2956,139 +2089,51 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Result' => [ - 'description' => ' '."\n" - .'请求结果', - 'type' => 'object', - 'properties' => [ - 'SdkUrl' => [ - 'description' => ' '."\n" - .'sdk下载链接', - 'type' => 'string', - 'example' => 'http://***', - ], - 'CaCrtUrl' => [ - 'description' => 'ca.crt下载链接', - 'type' => 'string', - 'example' => 'http://***ca.crt', - ], - 'ClientCrtUrl' => [ - 'description' => 'client.crt下载链接', - 'type' => 'string', - 'example' => 'http://***client.crt', - ], - 'TrustCaUrl' => [ - 'description' => 'trustCA下载链接', - 'type' => 'string', - 'example' => 'http://***trustCa', - ], - ], - ], + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'F3685787-9F2F-4D60-ADD6-07A5179552CA'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"SdkUrl\\": \\"http://***\\",\\n \\"CaCrtUrl\\": \\"http://***ca.crt\\",\\n \\"ClientCrtUrl\\": \\"http://***client.crt\\",\\n \\"TrustCaUrl\\": \\"http://***trustCa\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainDownloadPathsV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <SdkUrl>http://***</SdkUrl>\\n <CaCrtUrl>http://***ca.crt</CaCrtUrl>\\n <ClientCrtUrl>http://***client.crt</ClientCrtUrl>\\n <TrustCaUrl>http://***trustCa</TrustCaUrl>\\n </Result>\\n</DescribeAntChainDownloadPathsV2Response>","errorExample":""}]', - 'title' => '获取一条蚂蚁区块链相关证书下载地址', - 'summary' => '获取一条蚂蚁区块链相关证书下载地址(仅适用于阿里云国内站)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"F3685787-9F2F-4D60-ADD6-07A5179552CA\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteAntChainConsortiumResponse>\\n <Result>success</Result>\\n <RequestId>F3685787-9F2F-4D60-ADD6-07A5179552CA</RequestId>\\n</DeleteAntChainConsortiumResponse>","errorExample":""}]', + 'title' => '删除联盟', + 'summary' => '删除联盟。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainContractProjectsV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'baas:DeleteAntChainConsortium', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteAntChainContractContent' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'ConsortiumId', - 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'M8GaMEyX', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '10', - ], - ], - [ - 'name' => 'PageNumber', + 'name' => 'ContentId', 'in' => 'formData', - 'schema' => [ - 'description' => '页面编号,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '1', - ], + 'schema' => ['description' => '文件ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'GKX7KZX0'], ], ], 'responses' => [ @@ -3096,173 +2141,51 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => ' '."\n" - .'请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Result' => [ - 'description' => '请求结果', - 'type' => 'object', - 'properties' => [ - 'ContractProjects' => [ - 'description' => '合约工程', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'UpdateTime' => [ - 'description' => '更新时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1609848383000', - ], - 'ConsortiumId' => [ - 'description' => ' '."\n" - .'联盟ID', - 'type' => 'string', - 'example' => 'M8GaMEyX', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1609848383000', - ], - 'ProjectId' => [ - 'description' => '工程ID', - 'type' => 'string', - 'example' => 'RXwQj6m8', - ], - 'ProjectName' => [ - 'description' => '工程名称', - 'type' => 'string', - 'example' => 'test', - ], - 'ProjectVersion' => [ - 'description' => '工程版本', - 'type' => 'string', - 'example' => '1.0.0', - ], - 'ProjectDescription' => [ - 'description' => '工程描述', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - 'Pagination' => [ - 'description' => ' '."\n" - .'分页信息', - 'type' => 'object', - 'properties' => [ - 'PageSize' => [ - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '页面编号,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - ], - ], - ], - ], + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '7E54F588-39DE-446F-9A16-B9BB0B05DF44'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"ContractProjects\\": [\\n {\\n \\"UpdateTime\\": 1609848383000,\\n \\"ConsortiumId\\": \\"M8GaMEyX\\",\\n \\"CreateTime\\": 1609848383000,\\n \\"ProjectId\\": \\"RXwQj6m8\\",\\n \\"ProjectName\\": \\"test\\",\\n \\"ProjectVersion\\": \\"1.0.0\\",\\n \\"ProjectDescription\\": \\"test\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 100\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainContractProjectsV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <ContractProjects>\\n <UpdateTime>1609848383000</UpdateTime>\\n <ConsortiumId>M8GaMEyX</ConsortiumId>\\n <CreateTime>1609848383000</CreateTime>\\n <ProjectId>RXwQj6m8</ProjectId>\\n <ProjectName>test</ProjectName>\\n <ProjectVersion>1.0.0</ProjectVersion>\\n <ProjectDescription>test</ProjectDescription>\\n </ContractProjects>\\n <Pagination>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>100</TotalCount>\\n </Pagination>\\n </Result>\\n</DescribeAntChainContractProjectsV2Response>","errorExample":""}]', - 'title' => '获取联盟内合约工程列表', - 'summary' => '获取联盟内合约工程的列表(仅适用于阿里云国内站)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"7E54F588-39DE-446F-9A16-B9BB0B05DF44\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteAntChainContractContentResponse>\\n <Result>success</Result>\\n <RequestId>7E54F588-39DE-446F-9A16-B9BB0B05DF44</RequestId>\\n</DeleteAntChainContractContentResponse>","errorExample":""}]', + 'title' => '删除一个合约工程的内容', + 'summary' => '删除一个合约工程的内容。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainContractProjectContentTreeV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'baas:DeleteAntChainContractContent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteAntChainContractProject' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'formData', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2L9VK68g', - ], - ], - [ - 'name' => 'ConsortiumId', - 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'M8GaMEyX', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AVXeKq8R'], ], ], 'responses' => [ @@ -3270,106 +2193,60 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Result' => [ - 'description' => '请求结果', - 'type' => 'string', - 'example' => '""', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => ' '."\n" - .'请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '4FAC5F05-FDF0-4599-9522-0120525F0145'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Result\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"OK\\",\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainContractProjectContentTreeV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Result>\\"\\"</Result>\\n <Success>true</Success>\\n <Code>OK</Code>\\n <ResultMessage>OK</ResultMessage>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n</DescribeAntChainContractProjectContentTreeV2Response>","errorExample":""}]', - 'title' => '获取一个合约工程的内容树', - 'summary' => '获取一个合约工程的内容树(仅适用于阿里云国内站)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"4FAC5F05-FDF0-4599-9522-0120525F0145\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteAntChainContractProjectResponse>\\n <Result>success</Result>\\n <RequestId>4FAC5F05-FDF0-4599-9522-0120525F0145</RequestId>\\n</DeleteAntChainContractProjectResponse>","errorExample":""}]', + 'title' => '在联盟内删除一个合约工程', + 'summary' => '在联盟内删除一个合约工程。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainConsortiumsV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'baas:DeleteAntChainContractProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteAntChainMiniAppQRCodeAuthorizedUser' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '每页显示条例数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '2147483647', - 'minimum' => '0', - 'example' => '1', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ'], ], [ - 'name' => 'PageNumber', + 'name' => 'Phone', 'in' => 'formData', - 'schema' => [ - 'description' => '页面编号,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'maximum' => '2147483647', - 'minimum' => '0', - 'example' => '10', - ], + 'schema' => ['description' => '被取消授权的用户,内容为支付宝账号对应的手机号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1380013****'], ], ], 'responses' => [ @@ -3377,149 +2254,39 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Result' => [ - 'description' => '请求结果', - 'type' => 'object', - 'properties' => [ - 'AntConsortiums' => [ - 'description' => '蚂蚁区块链联盟', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ConsortiumDescription' => [ - 'description' => '联盟描述', - 'type' => 'string', - 'example' => 'test', - ], - 'Status' => [ - 'description' => '联盟状态', - 'type' => 'string', - 'example' => 'Active', - ], - 'IsEmptyConsortium' => [ - 'description' => '联盟是否为空', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'M8GaMEyX', - ], - 'CreateTime' => [ - 'description' => '联盟创建时戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1609745002000', - ], - 'MemberNum' => [ - 'description' => '联盟成员数量', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Role' => [ - 'description' => '账户身份角色', - 'type' => 'string', - 'example' => 'Member', - ], - 'ConsortiumName' => [ - 'description' => '联盟名称', - 'type' => 'string', - 'example' => '测试用', - ], - 'ChainNum' => [ - 'description' => '联盟内区块链数量', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - ], - ], - ], - 'Pagination' => [ - 'description' => '分页情况', - 'type' => 'object', - 'properties' => [ - 'PageSize' => [ - 'description' => '每页展示条例数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '分页编号,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '联盟个数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - ], - ], - ], - ], + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"AntConsortiums\\": [\\n {\\n \\"ConsortiumDescription\\": \\"test\\",\\n \\"Status\\": \\"Active\\",\\n \\"IsEmptyConsortium\\": false,\\n \\"ConsortiumId\\": \\"M8GaMEyX\\",\\n \\"CreateTime\\": 1609745002000,\\n \\"MemberNum\\": 2,\\n \\"Role\\": \\"Member\\",\\n \\"ConsortiumName\\": \\"测试用\\",\\n \\"ChainNum\\": 2\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 10\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainConsortiumsV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <AntConsortiums>\\n <ConsortiumDescription>test</ConsortiumDescription>\\n <Status>Active</Status>\\n <IsEmptyConsortium>false</IsEmptyConsortium>\\n <ConsortiumId>M8GaMEyX</ConsortiumId>\\n <CreateTime>1609745002000</CreateTime>\\n <MemberNum>2</MemberNum>\\n <Role>Member</Role>\\n <ConsortiumName>测试用</ConsortiumName>\\n <ChainNum>2</ChainNum>\\n </AntConsortiums>\\n <Pagination>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>10</TotalCount>\\n </Pagination>\\n </Result>\\n</DescribeAntChainConsortiumsV2Response>","errorExample":""}]', - 'title' => '获取联盟列表', - 'summary' => '获取联盟列表(仅适用于阿里云国内站)。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeAntChainCertificateApplicationsV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\"\\n}","errorExample":""},{"type":"xml","example":"<code>200</code>\\n<data>\\n <RequestId>DB3E99D7-2540-458E-B8D6-28DC6F0F2437</RequestId>\\n <Result>success</Result>\\n</data>\\n<requestId>DB3E99D7-2540-458E-B8D6-28DC6F0F2437</requestId>\\n<successResponse>true</successResponse>","errorExample":""}]', + 'title' => '取消蚂蚁区块链的交易二维码扫码权限', + 'summary' => '取消蚂蚁区块链的交易二维码扫码权限。', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'baas:DeleteAntChainMiniAppQRCodeAuthorizedUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteFabricChaincode' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3527,72 +2294,78 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'AntChainId', + 'name' => 'ChaincodeId', 'in' => 'formData', + 'schema' => ['description' => '链码ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'code-sacc-1pr09q7jm****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<DeleteFabricChaincodeResponse>\\r\\n\\t<RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</DeleteFabricChaincodeResponse>","errorExample":""}]', + 'title' => '删除错误的链码', + 'summary' => '调用DeleteFabricChaincode删除错误的链码。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Status', - 'in' => 'formData', - 'schema' => [ - 'description' => '证书状态:'."\n" - .'- 0:申请中'."\n" - .'- 1:正常'."\n" - .'- 2:失败', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'baas:DeleteFabricChaincode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeAntChainAccounts' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '1', - ], + 'schema' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10'], ], [ 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'description' => '页面编号,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '10', - ], + 'schema' => ['description' => '页面编号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], ], [ - 'name' => 'ConsortiumId', + 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => false, - 'example' => 'M8GaMEyX', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v'], ], ], 'responses' => [ @@ -3600,194 +2373,96 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1692940F-87C5-468F-8188-6C95FC05BBA5'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'CertificateApplications' => [ - 'description' => ' '."\n" - .'证书申请信息', + 'Accounts' => [ + 'description' => '账户信息', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => '1', - ], - 'Updatetime' => [ - 'description' => '更新时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1609848404000', - ], - 'Createtime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1609848404000', - ], - 'Bid' => [ - 'description' => ' '."\n" - .'阿里云Bid账号', - 'type' => 'string', - 'example' => '26842', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], - 'Username' => [ - 'description' => ' '."\n" - .'账户名', - 'type' => 'string', - 'example' => 'uid-103477475017****', - ], + 'AccountPublicKey' => ['description' => '账户公钥', 'type' => 'string', 'example' => 'de44334f1094cbd37e952ef691a837f36eab2e9afdf6bed9bf523c2dde40ff7b1ff526ec11b510d320f536685f75dd90f67fda8d41a69738a76a77c27b1373fb'], + 'Account' => ['description' => '账户名', 'type' => 'string', 'example' => '账户名'], + 'AccountRecoveryKey' => ['description' => '账户恢复公钥', 'type' => 'string', 'example' => 'ee54a9c4511345f2de05889540eedb8dfed7b57ab0647c5894e4333596bc2ecef07a0469331d016ad9978b39367a0a5c217ef92ffffcbd6716db6667353891a9'], + 'AccountStatus' => ['description' => '状态', 'type' => 'string', 'example' => 'NORMAL'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => 'pYogqb9v'], ], + 'description' => '', ], ], 'Pagination' => [ 'description' => '分页信息', 'type' => 'object', 'properties' => [ - 'PageSize' => [ - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '页面编号,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'PageSize' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '当前页面编号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"CertificateApplications\\": [\\n {\\n \\"Status\\": \\"1\\",\\n \\"Updatetime\\": 1609848404000,\\n \\"Createtime\\": 1609848404000,\\n \\"Bid\\": \\"26842\\",\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\",\\n \\"Username\\": \\"uid-103477475017****\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 100\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainCertificateApplicationsV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <CertificateApplications>\\n <Status>1</Status>\\n <Updatetime>1609848404000</Updatetime>\\n <Createtime>1609848404000</Createtime>\\n <Bid>26842</Bid>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n <Username>uid-103477475017****</Username>\\n </CertificateApplications>\\n <Pagination>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>100</TotalCount>\\n </Pagination>\\n </Result>\\n</DescribeAntChainCertificateApplicationsV2Response>","errorExample":""}]', - 'title' => '查看申请连接蚂蚁区块链信息', - 'summary' => '查看联盟成员申请连接一条蚂蚁区块链的信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1692940F-87C5-468F-8188-6C95FC05BBA5\\",\\n \\"Result\\": {\\n \\"Accounts\\": [\\n {\\n \\"AccountPublicKey\\": \\"de44334f1094cbd37e952ef691a837f36eab2e9afdf6bed9bf523c2dde40ff7b1ff526ec11b510d320f536685f75dd90f67fda8d41a69738a76a77c27b1373fb\\",\\n \\"Account\\": \\"账户名\\",\\n \\"AccountRecoveryKey\\": \\"ee54a9c4511345f2de05889540eedb8dfed7b57ab0647c5894e4333596bc2ecef07a0469331d016ad9978b39367a0a5c217ef92ffffcbd6716db6667353891a9\\",\\n \\"AccountStatus\\": \\"NORMAL\\",\\n \\"AntChainId\\": \\"pYogqb9v\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'DescribeAntChainAccounts', + 'summary' => '查询一条蚂蚁区块链的账户列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainAccountsV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainAccounts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainAccountsV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '2147483647', - 'minimum' => '0', - 'example' => '10', - ], + 'schema' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '10'], ], [ 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'description' => '页面编号,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'maximum' => '2147483647', - 'minimum' => '0', - 'example' => '1', - ], + 'schema' => ['description' => '页面编号,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '1'], ], [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '区块链ID', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '区块链ID'], ], [ 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => false, - 'example' => 'M8GaMEyX', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX'], ], ], 'responses' => [ @@ -3795,41 +2470,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', @@ -3840,62 +2487,29 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'AccountPublicKey' => [ - 'description' => '账户公钥', - 'type' => 'string', - 'example' => '2aa43bae103b6840ce8efdfe6f3fe5e52f8d1db0f44ff762df87ba17eb209979a0e22c934b2728c6c1bab864a6da52de60c5da89793bd839650a1a153e876e32', - ], - 'Account' => [ - 'description' => '账户名', - 'type' => 'string', - 'example' => 'test', - ], - 'AccountRecoveryKey' => [ - 'description' => '账户恢复公钥', - 'type' => 'string', - 'example' => '5a36312d78681794258bb33372586c676adf150ad69e67dbfcaae61bba3607705950bc9efe1bf4a17ac24b05b1615a410e48d2a005dca251c6173495bb47ae29', - ], - 'AccountStatus' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'NORMAL', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], + 'AccountPublicKey' => ['description' => '账户公钥', 'type' => 'string', 'example' => '2aa43bae103b6840ce8efdfe6f3fe5e52f8d1db0f44ff762df87ba17eb209979a0e22c934b2728c6c1bab864a6da52de60c5da89793bd839650a1a153e876e32'], + 'Account' => ['description' => '账户名', 'type' => 'string', 'example' => 'test'], + 'AccountRecoveryKey' => ['description' => '账户恢复公钥', 'type' => 'string', 'example' => '5a36312d78681794258bb33372586c676adf150ad69e67dbfcaae61bba3607705950bc9efe1bf4a17ac24b05b1615a410e48d2a005dca251c6173495bb47ae29'], + 'AccountStatus' => ['description' => '状态', 'type' => 'string', 'example' => 'NORMAL'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], ], + 'description' => '', ], ], 'Pagination' => [ 'description' => '分页信息', 'type' => 'object', 'properties' => [ - 'PageSize' => [ - 'description' => ' '."\n" - .'每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '当前页面编号,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'PageSize' => ['description' => ' '."\n" + .'每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '当前页面编号,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], ], ], ], ], ], + 'description' => '', ], ], ], @@ -3905,62 +2519,46 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainBlockV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainAccountsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainBlock' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v'], ], [ 'name' => 'Height', 'in' => 'formData', - 'schema' => [ - 'description' => '区块高度', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '100', - ], - ], - [ - 'name' => 'ConsortiumId', - 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => false, - 'example' => 'M8GaMEyX', - ], + 'schema' => ['description' => '查询区块高度', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1234'], ], ], 'responses' => [ @@ -3968,229 +2566,76 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '4DDA2E72-778A-4D79-BE70-448A26A57227'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'PreviousHash' => [ - 'description' => '前一个区块链哈希', - 'type' => 'string', - 'example' => '2444ef0617e0c6845549dead70f118c5a58f03c04575ecb79e283ab5c34b491d', - ], - 'Version' => [ - 'description' => '区块版本', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RootTxHash' => [ - 'description' => '根交易哈希', - 'type' => 'string', - 'example' => '0000000000000000000000000000000000000000000000000000000000000000', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1609223363570', - ], - 'TransactionSize' => [ - 'description' => '交易数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Height' => [ - 'description' => ' '."\n" - .'区块高度', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '254761', - ], - 'BlockHash' => [ - 'description' => '区块哈希', - 'type' => 'string', - 'example' => '5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], - 'TransSummaryList' => [ - 'description' => '交易列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Hash' => [ - 'description' => '交易Hash', - 'type' => 'string', - 'example' => '076bba1b726b3bcb958cba6fffc03eaa5cbed59320271dcbc0e05648a18a94f2', - ], - 'From' => [ - 'description' => '源地址', - 'type' => 'string', - 'example' => 'e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b', - ], - 'TransTypeV10' => [ - 'description' => '合约链类型', - 'type' => 'string', - 'example' => 'CALL_CONTRACT', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1609223363570', - ], - 'TransTypeV6' => [ - 'description' => '存证链类型', - 'type' => 'string', - 'example' => '""', - ], - 'Height' => [ - 'description' => '区块高度', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '254761', - ], - 'To' => [ - 'description' => '目的地址', - 'type' => 'string', - 'example' => 'e93372533f323b2f12783aa3a586135cf421486439c2cdcde47411b78f9839ec', - ], - 'GasUsed' => [ - 'description' => 'Gas使用值', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4000000', - ], - 'BlockHash' => [ - 'description' => '区块Hash', - 'type' => 'string', - 'example' => '5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7', - ], - 'ReferenceCount' => [ - 'description' => '数值', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Category' => [ - 'description' => '分类', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '-1', - ], - 'Alias' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], - ], - ], - ], + 'PreviousHash' => ['description' => '前一个区块链哈希', 'type' => 'string', 'example' => 'e11767c7b9d92563663a76f10c69e8354788001e2c9e6bd9267239a81d3bb523'], + 'Version' => ['description' => '区块版本', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'TransactionSize' => ['description' => '交易数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1562851727742'], + 'RootTxHash' => ['description' => '根交易哈希', 'type' => 'string', 'example' => '0000000000000000000000000000000000000000000000000000000000000000'], + 'Height' => ['description' => '区块高度', 'type' => 'integer', 'format' => 'int32', 'example' => '1234'], + 'BlockHash' => ['description' => '区块哈希', 'type' => 'string', 'example' => 'aeec5963f8deeeae820aaf302f0c925db9fa8d07b9898dac782335f817554e47'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => 'pYogqb9v'], + 'TransSummaryList' => ['description' => '交易列表', 'type' => 'string', 'example' => '[]'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"PreviousHash\\": \\"2444ef0617e0c6845549dead70f118c5a58f03c04575ecb79e283ab5c34b491d\\",\\n \\"Version\\": 1,\\n \\"RootTxHash\\": \\"0000000000000000000000000000000000000000000000000000000000000000\\",\\n \\"CreateTime\\": 1609223363570,\\n \\"TransactionSize\\": 1,\\n \\"Height\\": 254761,\\n \\"BlockHash\\": \\"5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7\\",\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\",\\n \\"TransSummaryList\\": [\\n {\\n \\"Hash\\": \\"076bba1b726b3bcb958cba6fffc03eaa5cbed59320271dcbc0e05648a18a94f2\\",\\n \\"From\\": \\"e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b\\",\\n \\"TransTypeV10\\": \\"CALL_CONTRACT\\",\\n \\"CreateTime\\": 1609223363570,\\n \\"TransTypeV6\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Height\\": 254761,\\n \\"To\\": \\"e93372533f323b2f12783aa3a586135cf421486439c2cdcde47411b78f9839ec\\",\\n \\"GasUsed\\": 4000000,\\n \\"BlockHash\\": \\"5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7\\",\\n \\"ReferenceCount\\": 0,\\n \\"Category\\": -1,\\n \\"Alias\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainBlockV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <PreviousHash>2444ef0617e0c6845549dead70f118c5a58f03c04575ecb79e283ab5c34b491d</PreviousHash>\\n <Version>1</Version>\\n <RootTxHash>0000000000000000000000000000000000000000000000000000000000000000</RootTxHash>\\n <CreateTime>1609223363570</CreateTime>\\n <TransactionSize>1</TransactionSize>\\n <Height>254761</Height>\\n <BlockHash>5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7</BlockHash>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n <TransSummaryList>\\n <Hash>076bba1b726b3bcb958cba6fffc03eaa5cbed59320271dcbc0e05648a18a94f2</Hash>\\n <From>e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b</From>\\n <TransTypeV10>CALL_CONTRACT</TransTypeV10>\\n <CreateTime>1609223363570</CreateTime>\\n <TransTypeV6>\\"\\"</TransTypeV6>\\n <Height>254761</Height>\\n <To>e93372533f323b2f12783aa3a586135cf421486439c2cdcde47411b78f9839ec</To>\\n <GasUsed>4000000</GasUsed>\\n <BlockHash>5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7</BlockHash>\\n <ReferenceCount>0</ReferenceCount>\\n <Category>-1</Category>\\n <Alias>8bd720bde18c4b37b0f4a1c7834db163</Alias>\\n </TransSummaryList>\\n </Result>\\n</DescribeAntChainBlockV2Response>","errorExample":""}]', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4DDA2E72-778A-4D79-BE70-448A26A57227\\",\\n \\"Result\\": {\\n \\"PreviousHash\\": \\"e11767c7b9d92563663a76f10c69e8354788001e2c9e6bd9267239a81d3bb523\\",\\n \\"Version\\": 2,\\n \\"TransactionSize\\": 0,\\n \\"CreateTime\\": 1562851727742,\\n \\"RootTxHash\\": \\"0000000000000000000000000000000000000000000000000000000000000000\\",\\n \\"Height\\": 1234,\\n \\"BlockHash\\": \\"aeec5963f8deeeae820aaf302f0c925db9fa8d07b9898dac782335f817554e47\\",\\n \\"AntChainId\\": \\"pYogqb9v\\",\\n \\"TransSummaryList\\": \\"[]\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => '根据块高查询一条蚂蚁区块链的区块信息', - 'summary' => '根据块高查询一条蚂蚁区块链的区块信息(仅适用于阿里云国内站)。', + 'summary' => '根据块高查询一条蚂蚁区块链的区块信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainTransactionV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainBlock', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainBlockV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], ], [ - 'name' => 'Hash', + 'name' => 'Height', 'in' => 'formData', - 'schema' => [ - 'description' => '交易哈希', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '227072dcd1a5d78098da99ccc8024304b9fb54fc6b65e37ef919d7f2da080061', - ], + 'schema' => ['description' => '区块高度', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '100'], ], [ 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => false, - 'example' => 'M8GaMEyX', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX'], ], ], 'responses' => [ @@ -4198,212 +2643,108 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'Hash' => [ - 'description' => '交易哈希', - 'type' => 'string', - 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca', - ], - 'BlockHash' => [ - 'description' => '区块哈希', - 'type' => 'string', - 'example' => '1168bc5dd0b78d15446b15ea5a7f7822a7d07c007dd3a50becf98da220fc08f6', - ], - 'BlockVersion' => [ - 'description' => '区块版本', - 'type' => 'string', - 'example' => '10', - ], - 'BlockHeight' => [ - 'description' => '区块高度', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'CreateTime' => [ - 'description' => '交易创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563954336850', - ], - 'Transaction' => [ - 'description' => '交易详情', - 'type' => 'object', - 'properties' => [ - 'Hash' => [ - 'description' => '交易哈希', - 'type' => 'string', - 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca', - ], - 'Value' => [ - 'description' => '交易金额', - 'type' => 'string', - 'example' => '0', - ], - 'From' => [ - 'description' => '交易发送者哈希', - 'type' => 'string', - 'example' => 'e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b', - ], - 'Data' => [ - 'description' => '数据', - 'type' => 'string', - 'example' => '""', - ], - 'Nonce' => [ - 'description' => '交易Nonce', - 'type' => 'string', - 'example' => '5675407026657953619', - ], - 'To' => [ - 'description' => '交易接收方地址', - 'type' => 'string', - 'example' => '961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5', - ], - 'Timestamp' => [ - 'description' => '交易发送时戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563954336850', - ], - 'Gas' => [ - 'description' => 'Gas值', - 'type' => 'string', - 'example' => '4000000', - ], - 'TxType' => [ - 'description' => '交易类型', - 'type' => 'string', - 'example' => 'UNFREEZE_ACCOUNT_CONTRACT', - ], - 'Period' => [ - 'description' => 'Period', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563954336850', - ], - 'Extentions' => [ - 'type' => 'array', - 'items' => [ - 'description' => ' '."\n" - .'扩展信息', - 'type' => 'string', - 'example' => '[]', - ], - ], - 'Signatures' => [ - 'type' => 'array', - 'items' => [ - 'description' => '签名', - 'type' => 'string', - 'example' => '5s6JhauIqAlMb6d+7...', - ], + 'PreviousHash' => ['description' => '前一个区块链哈希', 'type' => 'string', 'example' => '2444ef0617e0c6845549dead70f118c5a58f03c04575ecb79e283ab5c34b491d'], + 'Version' => ['description' => '区块版本', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RootTxHash' => ['description' => '根交易哈希', 'type' => 'string', 'example' => '0000000000000000000000000000000000000000000000000000000000000000'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1609223363570'], + 'TransactionSize' => ['description' => '交易数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Height' => ['description' => ' '."\n" + .'区块高度', 'type' => 'integer', 'format' => 'int32', 'example' => '254761'], + 'BlockHash' => ['description' => '区块哈希', 'type' => 'string', 'example' => '5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], + 'TransSummaryList' => [ + 'description' => '交易列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Hash' => ['description' => '交易Hash', 'type' => 'string', 'example' => '076bba1b726b3bcb958cba6fffc03eaa5cbed59320271dcbc0e05648a18a94f2'], + 'From' => ['description' => '源地址', 'type' => 'string', 'example' => 'e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b'], + 'TransTypeV10' => ['description' => '合约链类型', 'type' => 'string', 'example' => 'CALL_CONTRACT'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1609223363570'], + 'TransTypeV6' => ['description' => '存证链类型', 'type' => 'string', 'example' => '""'], + 'Height' => ['description' => '区块高度', 'type' => 'integer', 'format' => 'int64', 'example' => '254761'], + 'To' => ['description' => '目的地址', 'type' => 'string', 'example' => 'e93372533f323b2f12783aa3a586135cf421486439c2cdcde47411b78f9839ec'], + 'GasUsed' => ['description' => 'Gas使用值', 'type' => 'integer', 'format' => 'int64', 'example' => '4000000'], + 'BlockHash' => ['description' => '区块Hash', 'type' => 'string', 'example' => '5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7'], + 'ReferenceCount' => ['description' => '数值', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Category' => ['description' => '分类', 'type' => 'integer', 'format' => 'int32', 'example' => '-1'], + 'Alias' => ['description' => '区块链ID', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], ], + 'description' => '', ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"Hash\\": \\"b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca\\",\\n \\"BlockHash\\": \\"1168bc5dd0b78d15446b15ea5a7f7822a7d07c007dd3a50becf98da220fc08f6\\",\\n \\"BlockVersion\\": \\"10\\",\\n \\"BlockHeight\\": 100,\\n \\"CreateTime\\": 1563954336850,\\n \\"Transaction\\": {\\n \\"Hash\\": \\"b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca\\",\\n \\"Value\\": \\"0\\",\\n \\"From\\": \\"e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b\\",\\n \\"Data\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Nonce\\": \\"5675407026657953619\\",\\n \\"To\\": \\"961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5\\",\\n \\"Timestamp\\": 1563954336850,\\n \\"Gas\\": \\"4000000\\",\\n \\"TxType\\": \\"UNFREEZE_ACCOUNT_CONTRACT\\",\\n \\"Period\\": 1563954336850,\\n \\"Extentions\\": [\\n \\"[]\\"\\n ],\\n \\"Signatures\\": [\\n \\"5s6JhauIqAlMb6d+7...\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainTransactionV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <Hash>b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca</Hash>\\n <BlockHash>1168bc5dd0b78d15446b15ea5a7f7822a7d07c007dd3a50becf98da220fc08f6</BlockHash>\\n <BlockVersion>10</BlockVersion>\\n <BlockHeight>100</BlockHeight>\\n <CreateTime>1563954336850</CreateTime>\\n <Transaction>\\n <Hash>b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca</Hash>\\n <Value>0</Value>\\n <From>e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b</From>\\n <Data>\\"\\"</Data>\\n <Nonce>5675407026657953619</Nonce>\\n <To>961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5</To>\\n <Timestamp>1563954336850</Timestamp>\\n <Gas>4000000</Gas>\\n <TxType>UNFREEZE_ACCOUNT_CONTRACT</TxType>\\n <Period>1563954336850</Period>\\n <Extentions>[]</Extentions>\\n <Signatures>5s6JhauIqAlMb6d+7...</Signatures>\\n </Transaction>\\n </Result>\\n</DescribeAntChainTransactionV2Response>","errorExample":""}]', - 'title' => '查询蚂蚁区块链交易信息', - 'summary' => '根据交易哈希查询一条蚂蚁区块链的交易信息(仅适用于阿里云国内站)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"PreviousHash\\": \\"2444ef0617e0c6845549dead70f118c5a58f03c04575ecb79e283ab5c34b491d\\",\\n \\"Version\\": 1,\\n \\"RootTxHash\\": \\"0000000000000000000000000000000000000000000000000000000000000000\\",\\n \\"CreateTime\\": 1609223363570,\\n \\"TransactionSize\\": 1,\\n \\"Height\\": 254761,\\n \\"BlockHash\\": \\"5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7\\",\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\",\\n \\"TransSummaryList\\": [\\n {\\n \\"Hash\\": \\"076bba1b726b3bcb958cba6fffc03eaa5cbed59320271dcbc0e05648a18a94f2\\",\\n \\"From\\": \\"e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b\\",\\n \\"TransTypeV10\\": \\"CALL_CONTRACT\\",\\n \\"CreateTime\\": 1609223363570,\\n \\"TransTypeV6\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Height\\": 254761,\\n \\"To\\": \\"e93372533f323b2f12783aa3a586135cf421486439c2cdcde47411b78f9839ec\\",\\n \\"GasUsed\\": 4000000,\\n \\"BlockHash\\": \\"5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7\\",\\n \\"ReferenceCount\\": 0,\\n \\"Category\\": -1,\\n \\"Alias\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainBlockV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <PreviousHash>2444ef0617e0c6845549dead70f118c5a58f03c04575ecb79e283ab5c34b491d</PreviousHash>\\n <Version>1</Version>\\n <RootTxHash>0000000000000000000000000000000000000000000000000000000000000000</RootTxHash>\\n <CreateTime>1609223363570</CreateTime>\\n <TransactionSize>1</TransactionSize>\\n <Height>254761</Height>\\n <BlockHash>5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7</BlockHash>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n <TransSummaryList>\\n <Hash>076bba1b726b3bcb958cba6fffc03eaa5cbed59320271dcbc0e05648a18a94f2</Hash>\\n <From>e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b</From>\\n <TransTypeV10>CALL_CONTRACT</TransTypeV10>\\n <CreateTime>1609223363570</CreateTime>\\n <TransTypeV6>\\"\\"</TransTypeV6>\\n <Height>254761</Height>\\n <To>e93372533f323b2f12783aa3a586135cf421486439c2cdcde47411b78f9839ec</To>\\n <GasUsed>4000000</GasUsed>\\n <BlockHash>5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7</BlockHash>\\n <ReferenceCount>0</ReferenceCount>\\n <Category>-1</Category>\\n <Alias>8bd720bde18c4b37b0f4a1c7834db163</Alias>\\n </TransSummaryList>\\n </Result>\\n</DescribeAntChainBlockV2Response>","errorExample":""}]', + 'title' => '根据块高查询一条蚂蚁区块链的区块信息', + 'summary' => '根据块高查询一条蚂蚁区块链的区块信息(仅适用于阿里云国内站)。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainTransactionReceiptV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainBlockV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainCertificateApplications' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1q8B5R9p'], ], [ - 'name' => 'Hash', + 'name' => 'Status', 'in' => 'formData', - 'schema' => [ - 'description' => '交易哈希', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], + 'schema' => ['description' => '状态', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1'], ], [ - 'name' => 'ConsortiumId', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => false, - 'example' => 'M8GaMEyX', - ], + 'schema' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '20'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页面编号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'], ], ], 'responses' => [ @@ -4411,245 +2752,107 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'B232A84E-7944-4EB0-83D0-9D409E12E0A8'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'Data', - 'type' => 'string', - 'example' => 'data', - ], - 'GasUsed' => [ - 'description' => '消耗的Gas', - 'type' => 'string', - 'example' => '20000', - ], - 'Result' => [ - 'description' => '结果', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Logs' => [ + 'CertificateApplications' => [ + 'description' => '证书申请信息', 'type' => 'array', 'items' => [ - 'description' => 'logs', - 'type' => 'string', - 'example' => '[""]', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '证书状态:'."\n" + .'- 1:正常'."\n" + .'- 2:被重置', 'type' => 'string', 'example' => '1'], + 'Updatetime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1563949275000'], + 'Createtime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1563949275000'], + 'Bid' => ['description' => 'Bid', 'type' => 'string', 'example' => '26842'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => '1q8B5R9p'], + 'Username' => ['description' => '账户名', 'type' => 'string', 'example' => 'uid-128712635330****'], + ], + 'description' => '', + ], + ], + 'Pagination' => [ + 'description' => '分页信息', + 'type' => 'object', + 'properties' => [ + 'PageSize' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'PageNumber' => ['description' => '页面数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '每页总量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"Data\\": \\"data\\",\\n \\"GasUsed\\": \\"20000\\",\\n \\"Result\\": 0,\\n \\"Logs\\": [\\n \\"[\\\\\\"\\\\\\"]\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainTransactionReceiptV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <Data>data</Data>\\n <GasUsed>20000</GasUsed>\\n <Result>0</Result>\\n <Logs>[\\"\\"]</Logs>\\n </Result>\\n</DescribeAntChainTransactionReceiptV2Response>","errorExample":""}]', - 'title' => '查询蚂蚁区块链交易回执信息', - 'summary' => '根据交易哈希查询一条蚂蚁区块链的交易回执信息(仅适用于阿里云国内站)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B232A84E-7944-4EB0-83D0-9D409E12E0A8\\",\\n \\"Result\\": {\\n \\"CertificateApplications\\": [\\n {\\n \\"Status\\": \\"1\\",\\n \\"Updatetime\\": 1563949275000,\\n \\"Createtime\\": 1563949275000,\\n \\"Bid\\": \\"26842\\",\\n \\"AntChainId\\": \\"1q8B5R9p\\",\\n \\"Username\\": \\"uid-128712635330****\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainCertificateApplicationsResponse>\\n <RequestId>B232A84E-7944-4EB0-83D0-9D409E12E0A8</RequestId>\\n <Result>\\n <CertificateApplications>\\n <Status>1</Status>\\n <Updatetime>1563949275000</Updatetime>\\n <Createtime>1563949275000</Createtime>\\n <Bid>26842</Bid>\\n <AntChainId>1q8B5R9p</AntChainId>\\n <Username>uid-128712635330****</Username>\\n </CertificateApplications>\\n <Pagination>\\n <PageSize>20</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>1</TotalCount>\\n </Pagination>\\n </Result>\\n</DescribeAntChainCertificateApplicationsResponse>","errorExample":""}]', + 'title' => '查看联盟成员申请连接蚂蚁区块链信息', + 'summary' => '查看联盟成员申请连接一条蚂蚁区块链的信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainLatestTransactionDigestsV2' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'AntChainId', - 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], - ], - [ - 'name' => 'ConsortiumId', - 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => false, - 'example' => 'M8GaMEyX', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Result' => [ - 'type' => 'array', - 'items' => [ - 'description' => '请求结果', - 'type' => 'string', - 'example' => '[]', - ], - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainCertificateApplications', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": [\\n \\"[]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainLatestTransactionDigestsV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <CreateTime>1609987477483</CreateTime>\\n <TransactionV10Type>CALL_CONTRACT</TransactionV10Type>\\n <From>e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b</From>\\n <To>e93372533f323b2f12783aa3a586135cf421486439c2cdcde47411b78f9839ec</To>\\n <Hash>076bba1b726b3bcb958cba6fffc03eaa5cbed59320271dcbc0e05648a18a94f2</Hash>\\n </Result>\\n <Result>\\n <CreateTime>1609847759344</CreateTime>\\n <TransactionV10Type>CALL_CONTRACT</TransactionV10Type>\\n <From>e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b</From>\\n <To>e93372533f323b2f12783aa3a586135cf421486439c2cdcde47411b78f9839ec</To>\\n <Hash>227072dcd1a5d78098da99ccc8024304b9fb54fc6b65e37ef919d7f2da080061</Hash>\\n </Result>\\n <Result>\\n <CreateTime>1609227008399</CreateTime>\\n <TransactionV10Type>CALL_CONTRACT</TransactionV10Type>\\n <From>4db58ada9221304b161ab0aa11b032a62d60d9ab29e41c6d238f4401c81c8189</From>\\n <To>9782291a957d28bec9e02f3dcb27d78392815ede7670b70793e0fd9763309cda</To>\\n <Hash>ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1</Hash>\\n </Result>\\n <Result>\\n <CreateTime>1609226974574</CreateTime>\\n <TransactionV10Type>DEPLOY_CONTRACT</TransactionV10Type>\\n <From>4db58ada9221304b161ab0aa11b032a62d60d9ab29e41c6d238f4401c81c8189</From>\\n <To>9782291a957d28bec9e02f3dcb27d78392815ede7670b70793e0fd9763309cda</To>\\n <Hash>2747c362416ab4c11fafca15bf652c51efb363c1fbdd8c0ed45aa20c56083777</Hash>\\n </Result>\\n <Result>\\n <CreateTime>1609226512448</CreateTime>\\n <TransactionV10Type>CREATE_ACCOUNT</TransactionV10Type>\\n <From>e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b</From>\\n <To>4db58ada9221304b161ab0aa11b032a62d60d9ab29e41c6d238f4401c81c8189</To>\\n <Hash>954eb876a579698f4c09aa12a91e22020ca169e13c711db342d391b0ad233f3f</Hash>\\n </Result>\\n <Result>\\n <CreateTime>1609223761557</CreateTime>\\n <TransactionV10Type>CREATE_ACCOUNT</TransactionV10Type>\\n <From>e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b</From>\\n <To>b3d4c1bc05776e66e2f080d6a311b2c0667f623db1b65924a8823e31325e8d2c</To>\\n <Hash>c3b4b3327731cf0221fbac39cc8816438e0617552ae0948ed3f68ec49a20b639</Hash>\\n </Result>\\n</DescribeAntChainLatestTransactionDigestsV2Response>","errorExample":""}]', - 'title' => '查询一条蚂蚁区块链最新的交易摘要列表', - 'summary' => '查询一条蚂蚁区块链最新的交易摘要列表(仅适用于阿里云国内站)。', ], - 'DescribeAntChainTransactionStatisticsV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAntChainCertificateApplicationsV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], ], [ - 'name' => 'Start', + 'name' => 'Status', 'in' => 'formData', - 'schema' => [ - 'description' => '统计开始时间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '1609084800000', - ], + 'schema' => ['description' => '证书状态:'."\n" + .'- 0:申请中'."\n" + .'- 1:正常'."\n" + .'- 2:失败', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1'], ], [ - 'name' => 'End', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '统计结束时间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '1609776000000', - ], + 'schema' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页面编号,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '10'], ], [ 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => false, - 'example' => 'M8GaMEyX', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX'], ], ], 'responses' => [ @@ -4657,287 +2860,95 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ 'description' => '请求结果', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Dt' => [ - 'description' => '时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1609171200000', - ], - 'CreatTime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1609258222000', - ], - 'LastSumBlockHeight' => [ - 'description' => '最后统计的区块高度', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11511', - ], - 'TransCount' => [ - 'description' => '交易总量', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4', + 'type' => 'object', + 'properties' => [ + 'CertificateApplications' => [ + 'description' => ' '."\n" + .'证书申请信息', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '状态', 'type' => 'string', 'example' => '1'], + 'Updatetime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1609848404000'], + 'Createtime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1609848404000'], + 'Bid' => ['description' => ' '."\n" + .'阿里云Bid账号', 'type' => 'string', 'example' => '26842'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], + 'Username' => ['description' => ' '."\n" + .'账户名', 'type' => 'string', 'example' => 'uid-103477475017****'], + ], + 'description' => '', ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', + ], + 'Pagination' => [ + 'description' => '分页信息', + 'type' => 'object', + 'properties' => [ + 'PageSize' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '页面编号,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": [\\n {\\n \\"Dt\\": 1609171200000,\\n \\"CreatTime\\": 1609258222000,\\n \\"LastSumBlockHeight\\": 11511,\\n \\"TransCount\\": 4,\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainTransactionStatisticsV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <Dt>1609171200000</Dt>\\n <CreatTime>1609258222000</CreatTime>\\n <LastSumBlockHeight>11511</LastSumBlockHeight>\\n <TransCount>4</TransCount>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n </Result>\\n</DescribeAntChainTransactionStatisticsV2Response>","errorExample":""}]', - 'title' => '查询一条蚂蚁区块链的交易统计信息', - 'summary' => '查询一条蚂蚁区块链的交易统计信息(仅适用于阿里云国内站)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"CertificateApplications\\": [\\n {\\n \\"Status\\": \\"1\\",\\n \\"Updatetime\\": 1609848404000,\\n \\"Createtime\\": 1609848404000,\\n \\"Bid\\": \\"26842\\",\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\",\\n \\"Username\\": \\"uid-103477475017****\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 100\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainCertificateApplicationsV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <CertificateApplications>\\n <Status>1</Status>\\n <Updatetime>1609848404000</Updatetime>\\n <Createtime>1609848404000</Createtime>\\n <Bid>26842</Bid>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n <Username>uid-103477475017****</Username>\\n </CertificateApplications>\\n <Pagination>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>100</TotalCount>\\n </Pagination>\\n </Result>\\n</DescribeAntChainCertificateApplicationsV2Response>","errorExample":""}]', + 'title' => '查看申请连接蚂蚁区块链信息', + 'summary' => '查看联盟成员申请连接一条蚂蚁区块链的信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainLatestBlocksV2' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'AntChainId', - 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '查询一条蚂蚁区块链最新的区块信息列表(仅适用于阿里云国内站', - ], - ], + 'ramActions' => [ [ - 'name' => 'ConsortiumId', - 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => false, - 'example' => 'M8GaMEyX', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Result' => [ - 'description' => '请求结果', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'PreviousHash' => [ - 'description' => '上一个区块哈希', - 'type' => 'string', - 'example' => 'f208834bdc72bd6bb05c5ef1a35abbc8295a16deda9526b7b78c69ec24591b9f', - ], - 'Version' => [ - 'description' => '版本信息', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33556226', - ], - 'TransactionSize' => [ - 'description' => '区块中交易数量', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Size' => [ - 'description' => '区块大小', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1024', - ], - 'RootTxHash' => [ - 'description' => '根哈希', - 'type' => 'string', - 'example' => '0000000000000000000000000000000000000000000000000000000000000000', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1610002621000', - ], - 'Height' => [ - 'description' => '区块高度', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '259808', - ], - 'BizData' => [ - 'description' => '区块哈希', - 'type' => 'string', - 'example' => 'b21baa257788d97eb0006672ccc5008f465365e1dec88d0bbd833e150414b3d5', - ], - 'BlockHash' => [ - 'description' => '区块哈希', - 'type' => 'string', - 'example' => 'b21baa257788d97eb0006672ccc5008f465365e1dec88d0bbd833e150414b3d5', - ], - 'Alias' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], - ], - ], - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainCertificateApplicationsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": [\\n {\\n \\"PreviousHash\\": \\"f208834bdc72bd6bb05c5ef1a35abbc8295a16deda9526b7b78c69ec24591b9f\\",\\n \\"Version\\": 33556226,\\n \\"TransactionSize\\": 0,\\n \\"Size\\": 1024,\\n \\"RootTxHash\\": \\"0000000000000000000000000000000000000000000000000000000000000000\\",\\n \\"CreateTime\\": 1610002621000,\\n \\"Height\\": 259808,\\n \\"BizData\\": \\"b21baa257788d97eb0006672ccc5008f465365e1dec88d0bbd833e150414b3d5\\",\\n \\"BlockHash\\": \\"b21baa257788d97eb0006672ccc5008f465365e1dec88d0bbd833e150414b3d5\\",\\n \\"Alias\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainLatestBlocksV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <PreviousHash>f208834bdc72bd6bb05c5ef1a35abbc8295a16deda9526b7b78c69ec24591b9f</PreviousHash>\\n <Version>33556226</Version>\\n <TransactionSize>0</TransactionSize>\\n <Size>1024</Size>\\n <RootTxHash>0000000000000000000000000000000000000000000000000000000000000000</RootTxHash>\\n <CreateTime>1610002621000</CreateTime>\\n <Height>259808</Height>\\n <BizData>b21baa257788d97eb0006672ccc5008f465365e1dec88d0bbd833e150414b3d5</BizData>\\n <BlockHash>b21baa257788d97eb0006672ccc5008f465365e1dec88d0bbd833e150414b3d5</BlockHash>\\n <Alias>8bd720bde18c4b37b0f4a1c7834db163</Alias>\\n </Result>\\n</DescribeAntChainLatestBlocksV2Response>","errorExample":""}]', - 'title' => '查询一条蚂蚁区块链最新的区块信息列表', - 'summary' => '查询一条蚂蚁区块链最新的区块信息列表(仅适用于阿里云国内站。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeAntChainInformationV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAntChainConsortiums' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'AntChainId', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], + 'schema' => ['description' => '每页显示条例数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10'], ], [ - 'name' => 'ConsortiumId', + 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => false, - 'example' => 'M8GaMEyX', - ], + 'schema' => ['description' => '页面编号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], ], ], 'responses' => [ @@ -4945,181 +2956,89 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'IsRole' => [ - 'description' => '节点角色,只有fasle,保留字段(未使用)。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'TransactionSum' => [ - 'description' => '交易总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'Version' => [ - 'description' => '区块链版本', - 'type' => 'string', - 'example' => '0.10', - ], - 'CreateTime' => [ - 'description' => '创建时戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1609221924000', - ], - 'BlockHeight' => [ - 'description' => '区块链高度', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '259988', - ], - 'NodeNumber' => [ - 'description' => '节点总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'AbnormalNodes' => [ - 'description' => '异常节点数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], - 'Normal' => [ - 'description' => '运行状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'NodeInfos' => [ - 'description' => '节点信息', + 'AntConsortiums' => [ + 'description' => '蚂蚁区块链联盟', 'type' => 'array', 'items' => [ + 'description' => '蚂蚁区块链联盟', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '节点状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'NodeName' => [ - 'description' => '节点地址', - 'type' => 'string', - 'example' => '8.136.158.115 18130', - ], - 'Version' => [ - 'description' => '运行版本', - 'type' => 'string', - 'example' => '0.10', - ], - 'BlockHeight' => [ - 'description' => '区块链高度', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '259988', - ], + 'ConsortiumDescription' => ['description' => '联盟描述', 'type' => 'string', 'example' => '测试联盟'], + 'Status' => ['description' => '联盟状态', 'type' => 'string', 'example' => 'Active'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'DV80nJXq'], + 'CreateTime' => ['description' => '联盟创建时戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1562845453000'], + 'MemberNum' => ['description' => '联盟成员数量', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'Role' => ['description' => '账户身份角色', 'type' => 'string', 'example' => 'SuperAdmin'], + 'ConsortiumName' => ['description' => '联盟名称', 'type' => 'string', 'example' => '第一个联盟'], + 'ChainNum' => ['description' => '联盟内区块链梳理', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], ], + 'Pagination' => [ + 'description' => '分页情况', + 'type' => 'object', + 'properties' => [ + 'PageSize' => ['description' => '每页展示条例数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '联盟个数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"IsRole\\": false,\\n \\"TransactionSum\\": 6,\\n \\"Version\\": \\"0.10\\",\\n \\"CreateTime\\": 1609221924000,\\n \\"BlockHeight\\": 259988,\\n \\"NodeNumber\\": 4,\\n \\"AbnormalNodes\\": 0,\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\",\\n \\"Normal\\": true,\\n \\"NodeInfos\\": [\\n {\\n \\"Status\\": true,\\n \\"NodeName\\": \\"8.136.158.115 18130\\",\\n \\"Version\\": \\"0.10\\",\\n \\"BlockHeight\\": 259988\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainInformationV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <IsRole>false</IsRole>\\n <TransactionSum>6</TransactionSum>\\n <Version>0.10</Version>\\n <CreateTime>1609221924000</CreateTime>\\n <BlockHeight>259988</BlockHeight>\\n <NodeNumber>4</NodeNumber>\\n <AbnormalNodes>0</AbnormalNodes>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n <Normal>true</Normal>\\n <NodeInfos>\\n <Status>true</Status>\\n <NodeName>8.136.158.115 18130</NodeName>\\n <Version>0.10</Version>\\n <BlockHeight>259988</BlockHeight>\\n </NodeInfos>\\n </Result>\\n</DescribeAntChainInformationV2Response>","errorExample":""}]', - 'title' => 'DescribeAntChainInformationV2', - 'summary' => '查询一条蚂蚁区块链的基本信息(仅适用于阿里云国内站)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Result\\": {\\n \\"AntConsortiums\\": [\\n {\\n \\"ConsortiumDescription\\": \\"测试联盟\\",\\n \\"Status\\": \\"Active\\",\\n \\"ConsortiumId\\": \\"DV80nJXq\\",\\n \\"CreateTime\\": 1562845453000,\\n \\"MemberNum\\": 2,\\n \\"Role\\": \\"SuperAdmin\\",\\n \\"ConsortiumName\\": \\"第一个联盟\\",\\n \\"ChainNum\\": 1\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<xml version=\\"1.0\\" encoding=\\"UTF-8\\" >\\n\\t<code>200</code>\\n\\t<data>\\n\\t\\t<RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n\\t\\t<Result>\\n\\t\\t\\t<Pagination>\\n\\t\\t\\t\\t<TotalCount>3</TotalCount>\\n\\t\\t\\t\\t<PageSize>10</PageSize>\\n\\t\\t\\t\\t<PageNumber>1</PageNumber>\\n\\t\\t\\t</Pagination>\\n\\t\\t\\t<AntConsortiums>\\n\\t\\t\\t\\t<Status>Active</Status>\\n\\t\\t\\t\\t<Role>SuperAdmin</Role>\\n\\t\\t\\t\\t<ConsortiumId>DV80nJXq</ConsortiumId>\\n\\t\\t\\t\\t<ChainNum>1</ChainNum>\\n\\t\\t\\t\\t<CreateTime>1562845453000</CreateTime>\\n\\t\\t\\t\\t<ConsortiumDescription>测试联盟</ConsortiumDescription>\\n\\t\\t\\t\\t<ConsortiumName>第一个联盟</ConsortiumName>\\n\\t\\t\\t\\t<MemberNum>2</MemberNum>\\n\\t\\t\\t</AntConsortiums>\\n\\t\\t</Result>\\n\\t</data>\\n\\t<requestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</requestId>\\n\\t<successResponse>true</successResponse>\\n</xml>","errorExample":""}]', + 'title' => '获取联盟列表', + 'summary' => '获取联盟列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainConsortiums' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainConsortiums', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainConsortiumsV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '每页显示条例数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '10', - ], + 'schema' => ['description' => '每页显示条例数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '1'], ], [ 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'description' => '页面编号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => '页面编号,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '10'], ], ], 'responses' => [ @@ -5127,11 +3046,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', @@ -5140,122 +3061,76 @@ 'description' => '蚂蚁区块链联盟', 'type' => 'array', 'items' => [ - 'description' => '蚂蚁区块链联盟', 'type' => 'object', 'properties' => [ - 'ConsortiumDescription' => [ - 'description' => '联盟描述', - 'type' => 'string', - 'example' => '测试联盟', - ], - 'Status' => [ - 'description' => '联盟状态', - 'type' => 'string', - 'example' => 'Active', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'DV80nJXq', - ], - 'CreateTime' => [ - 'description' => '联盟创建时戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1562845453000', - ], - 'MemberNum' => [ - 'description' => '联盟成员数量', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Role' => [ - 'description' => '账户身份角色', - 'type' => 'string', - 'example' => 'SuperAdmin', - ], - 'ConsortiumName' => [ - 'description' => '联盟名称', - 'type' => 'string', - 'example' => '第一个联盟', - ], - 'ChainNum' => [ - 'description' => '联盟内区块链梳理', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'ConsortiumDescription' => ['description' => '联盟描述', 'type' => 'string', 'example' => 'test'], + 'Status' => ['description' => '联盟状态', 'type' => 'string', 'example' => 'Active'], + 'IsEmptyConsortium' => ['description' => '联盟是否为空', 'type' => 'boolean', 'example' => 'false'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'M8GaMEyX'], + 'CreateTime' => ['description' => '联盟创建时戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1609745002000'], + 'MemberNum' => ['description' => '联盟成员数量', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'Role' => ['description' => '账户身份角色', 'type' => 'string', 'example' => 'Member'], + 'ConsortiumName' => ['description' => '联盟名称', 'type' => 'string', 'example' => '测试用'], + 'ChainNum' => ['description' => '联盟内区块链数量', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], ], + 'description' => '', ], ], 'Pagination' => [ 'description' => '分页情况', 'type' => 'object', 'properties' => [ - 'PageSize' => [ - 'description' => '每页展示条例数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '联盟个数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'PageSize' => ['description' => '每页展示条例数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '分页编号,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '联盟个数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Result\\": {\\n \\"AntConsortiums\\": [\\n {\\n \\"ConsortiumDescription\\": \\"测试联盟\\",\\n \\"Status\\": \\"Active\\",\\n \\"ConsortiumId\\": \\"DV80nJXq\\",\\n \\"CreateTime\\": 1562845453000,\\n \\"MemberNum\\": 2,\\n \\"Role\\": \\"SuperAdmin\\",\\n \\"ConsortiumName\\": \\"第一个联盟\\",\\n \\"ChainNum\\": 1\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<xml version=\\"1.0\\" encoding=\\"UTF-8\\" >\\n\\t<code>200</code>\\n\\t<data>\\n\\t\\t<RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n\\t\\t<Result>\\n\\t\\t\\t<Pagination>\\n\\t\\t\\t\\t<TotalCount>3</TotalCount>\\n\\t\\t\\t\\t<PageSize>10</PageSize>\\n\\t\\t\\t\\t<PageNumber>1</PageNumber>\\n\\t\\t\\t</Pagination>\\n\\t\\t\\t<AntConsortiums>\\n\\t\\t\\t\\t<Status>Active</Status>\\n\\t\\t\\t\\t<Role>SuperAdmin</Role>\\n\\t\\t\\t\\t<ConsortiumId>DV80nJXq</ConsortiumId>\\n\\t\\t\\t\\t<ChainNum>1</ChainNum>\\n\\t\\t\\t\\t<CreateTime>1562845453000</CreateTime>\\n\\t\\t\\t\\t<ConsortiumDescription>测试联盟</ConsortiumDescription>\\n\\t\\t\\t\\t<ConsortiumName>第一个联盟</ConsortiumName>\\n\\t\\t\\t\\t<MemberNum>2</MemberNum>\\n\\t\\t\\t</AntConsortiums>\\n\\t\\t</Result>\\n\\t</data>\\n\\t<requestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</requestId>\\n\\t<successResponse>true</successResponse>\\n</xml>","errorExample":""}]', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"AntConsortiums\\": [\\n {\\n \\"ConsortiumDescription\\": \\"test\\",\\n \\"Status\\": \\"Active\\",\\n \\"IsEmptyConsortium\\": false,\\n \\"ConsortiumId\\": \\"M8GaMEyX\\",\\n \\"CreateTime\\": 1609745002000,\\n \\"MemberNum\\": 2,\\n \\"Role\\": \\"Member\\",\\n \\"ConsortiumName\\": \\"测试用\\",\\n \\"ChainNum\\": 2\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 10\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainConsortiumsV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <AntConsortiums>\\n <ConsortiumDescription>test</ConsortiumDescription>\\n <Status>Active</Status>\\n <IsEmptyConsortium>false</IsEmptyConsortium>\\n <ConsortiumId>M8GaMEyX</ConsortiumId>\\n <CreateTime>1609745002000</CreateTime>\\n <MemberNum>2</MemberNum>\\n <Role>Member</Role>\\n <ConsortiumName>测试用</ConsortiumName>\\n <ChainNum>2</ChainNum>\\n </AntConsortiums>\\n <Pagination>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>10</TotalCount>\\n </Pagination>\\n </Result>\\n</DescribeAntChainConsortiumsV2Response>","errorExample":""}]', 'title' => '获取联盟列表', - 'summary' => '获取联盟列表。', + 'summary' => '获取联盟列表(仅适用于阿里云国内站)。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainDownloadPaths' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainConsortiumsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainContractProjectContentTree' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'AntChainId', + 'name' => 'ProjectId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1q8B5R9p', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2L9VK68g'], ], ], 'responses' => [ @@ -5263,58 +3138,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'E6F487D4-8606-41B5-B289-46D5EFBD3417', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A0DF307A-A44A-476F-99D8-BA4F205350BD'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'SdkUrl' => [ - 'description' => 'SDK下载链接', - 'type' => 'string', - 'example' => 'http://***', - ], - 'CaCrtUrl' => [ - 'description' => 'ca.crt下载链接', - 'type' => 'string', - 'example' => 'http://***ca.crt', - ], - 'ClientCrtUrl' => [ - 'description' => 'client.crt下载链接', - 'type' => 'string', - 'example' => 'http://***client.crt', - ], - 'TrustCaUrl' => [ - 'description' => 'trust.CA下载链接', - 'type' => 'string', - 'example' => 'http://***trustCa', + 'ProjectVersion' => ['description' => '工程版本', 'type' => 'string', 'example' => '5'], + 'ProjectDescription' => ['description' => '工程描述', 'type' => 'string', 'example' => 'description'], + 'ProjectId' => ['description' => '工程ID', 'type' => 'string', 'example' => '2L9VK68g'], + 'ProjectName' => ['description' => '工程名称', 'type' => 'string', 'example' => 'projectname'], + 'Children' => [ + 'type' => 'array', + 'items' => ['description' => '子文件', 'type' => 'object', 'example' => '[]'], + 'description' => '', ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E6F487D4-8606-41B5-B289-46D5EFBD3417\\",\\n \\"Result\\": {\\n \\"SdkUrl\\": \\"http://***\\",\\n \\"CaCrtUrl\\": \\"http://***ca.crt\\",\\n \\"ClientCrtUrl\\": \\"http://***client.crt\\",\\n \\"TrustCaUrl\\": \\"http://***trustCa\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '获取一条蚂蚁区块链相关证书下载地址', - 'summary' => '获取一条蚂蚁区块链相关证书下载地址。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A0DF307A-A44A-476F-99D8-BA4F205350BD\\",\\n \\"Result\\": {\\n \\"ProjectVersion\\": \\"5\\",\\n \\"ProjectDescription\\": \\"description\\",\\n \\"ProjectId\\": \\"2L9VK68g\\",\\n \\"ProjectName\\": \\"projectname\\",\\n \\"Children\\": [\\n []\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '获取一个合约工程的内容树', + 'summary' => '获取一个合约工程的内容树。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChains' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainContractProjectContentTree', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeAntChainContractProjectContentTreeV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5322,44 +3195,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'description' => '页面条例数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '20', - ], - ], - [ - 'name' => 'PageNumber', + 'name' => 'ProjectId', 'in' => 'formData', - 'schema' => [ - 'description' => '当前页面编号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2L9VK68g'], ], [ 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'AroN3X2l', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'M8GaMEyX'], ], ], 'responses' => [ @@ -5367,189 +3213,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '52EC3196-D0B8-4FBE-A8B6-6DDABABE11C9', - ], - 'Result' => [ - 'description' => '请求结果', - 'type' => 'object', - 'properties' => [ - 'IsExist' => [ - 'description' => '是否存在', - 'type' => 'boolean', - 'example' => 'false', - ], - 'AntChains' => [ - 'description' => '蚂蚁区块链属性描述', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ExpireTime' => [ - 'description' => '到期时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1626019200000', - ], - 'CreateTime' => [ - 'description' => '创建时戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1562847396000', - ], - 'ChainType' => [ - 'description' => '区块链类型,Contract :合约链,无其他类型', - 'type' => 'string', - 'example' => 'Contract', - ], - 'MemberStatus' => [ - 'description' => '是否已经申请链上访问证书', - 'type' => 'string', - 'example' => 'ChainApplied', - ], - 'MerkleTreeSuit' => [ - 'description' => 'Merkle树类型,fdmt:蚂蚁链Merkle数,无其他类型', - 'type' => 'string', - 'example' => 'fdmt', - ], - 'IsAdmin' => [ - 'description' => '当前用户是否是管理员', - 'type' => 'boolean', - 'example' => 'true', - ], - 'AntChainName' => [ - 'description' => '区块链名称', - 'type' => 'string', - 'example' => '一个测试的区块链', - ], - 'RegionId' => [ - 'description' => '创建地域信息', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'Network' => [ - 'description' => '运行状态:'."\n" - .'- Running:运行中'."\n" - .'- Stop:停止', - 'type' => 'string', - 'example' => 'Running', - ], - 'TlsAlgo' => [ - 'description' => 'TLS加密算法,rsa:ras算法,无其他算法类型', - 'type' => 'string', - 'example' => 'rsa', - ], - 'Version' => [ - 'description' => '详细的链版本', - 'type' => 'string', - 'example' => '2.19.1', - ], - 'CipherSuit' => [ - 'description' => '加密套件类型,classic : 标准加密,无其他类型', - 'type' => 'string', - 'example' => 'classic', - ], - 'ResourceSize' => [ - 'description' => '资源类型:'."\n" - .'- Basic:基础版'."\n" - .'- Enterprise:企业版', - 'type' => 'string', - 'example' => 'Basic', - ], - 'NodeNum' => [ - 'description' => '节点数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'AntChainId' => [ - 'description' => '蚂蚁区块链ID'."\n", - 'type' => 'string', - 'example' => 'pYogqb9v', - ], - ], - ], - ], - 'Pagination' => [ - 'description' => '分页情况', - 'type' => 'object', - 'properties' => [ - 'PageSize' => [ - 'description' => '每页显示条例数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'PageNumber' => [ - 'description' => '当前页面编号', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - ], - ], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => '""'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => ' '."\n" + .'请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"52EC3196-D0B8-4FBE-A8B6-6DDABABE11C9\\",\\n \\"Result\\": {\\n \\"IsExist\\": false,\\n \\"AntChains\\": [\\n {\\n \\"ExpireTime\\": 1626019200000,\\n \\"CreateTime\\": 1562847396000,\\n \\"ChainType\\": \\"Contract\\",\\n \\"MemberStatus\\": \\"ChainApplied\\",\\n \\"MerkleTreeSuit\\": \\"fdmt\\",\\n \\"IsAdmin\\": true,\\n \\"AntChainName\\": \\"一个测试的区块链\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Network\\": \\"Running\\",\\n \\"TlsAlgo\\": \\"rsa\\",\\n \\"Version\\": \\"2.19.1\\",\\n \\"CipherSuit\\": \\"classic\\",\\n \\"ResourceSize\\": \\"Basic\\",\\n \\"NodeNum\\": 4,\\n \\"AntChainId\\": \\"pYogqb9v\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => 'DescribeAntChains', - 'summary' => '获取联盟内的蚂蚁区块链列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Result\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"OK\\",\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainContractProjectContentTreeV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Result>\\"\\"</Result>\\n <Success>true</Success>\\n <Code>OK</Code>\\n <ResultMessage>OK</ResultMessage>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n</DescribeAntChainContractProjectContentTreeV2Response>","errorExample":""}]', + 'title' => '获取一个合约工程的内容树', + 'summary' => '获取一个合约工程的内容树(仅适用于阿里云国内站)。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainTransaction' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainContractProjectContentTreeV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainContractProjects' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'AntChainId', + 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'pYogqb9v', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DV80nJXq'], ], [ - 'name' => 'Hash', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '交易哈希', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca', - ], + 'schema' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页面编号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'], ], ], 'responses' => [ @@ -5557,159 +3285,96 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '7DCE6520-E5DB-4859-90AC-BDDB8A5501C6', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '5EDAC16F-EA3E-4017-B223-D76220F985DF'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'Hash' => [ - 'description' => '交易哈希', - 'type' => 'string', - 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca', - ], - 'BlockHash' => [ - 'description' => '区块哈希', - 'type' => 'string', - 'example' => '1168bc5dd0b78d15446b15ea5a7f7822a7d07c007dd3a50becf98da220fc08f6', - ], - 'BlockVersion' => [ - 'description' => '区块版本', - 'type' => 'string', - 'example' => '10', - ], - 'BlockHeight' => [ - 'description' => '区块高度', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '368169', - ], - 'CreateTime' => [ - 'description' => '交易创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563954336850', + 'ContractProjects' => [ + 'description' => '合约工程', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'UpdateTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1563954499000'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'DV80nJXq'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1562847564000'], + 'ProjectId' => ['description' => '工程ID', 'type' => 'string', 'example' => '2L9VK68g'], + 'ProjectName' => ['description' => '工程名称', 'type' => 'string', 'example' => 'projectname'], + 'ProjectVersion' => ['description' => '工程版本', 'type' => 'string', 'example' => '5'], + 'ProjectDescription' => ['description' => '工程描述', 'type' => 'string', 'example' => 'description'], + ], + 'description' => '', + ], ], - 'Transaction' => [ - 'description' => '交易详情', + 'Pagination' => [ + 'description' => '分页信息', 'type' => 'object', 'properties' => [ - 'Hash' => [ - 'description' => '交易哈希', - 'type' => 'string', - 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca', - ], - 'Value' => [ - 'description' => '交易金额', - 'type' => 'string', - 'example' => '0', - ], - 'From' => [ - 'description' => '交易发送者哈希', - 'type' => 'string', - 'example' => 'e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b', - ], - 'Data' => [ - 'description' => '数据', - 'type' => 'string', - 'example' => '“”', - ], - 'Nonce' => [ - 'description' => '交易Nonce', - 'type' => 'string', - 'example' => '5675407026657953619', - ], - 'To' => [ - 'description' => '交易接收方地址', - 'type' => 'string', - 'example' => '961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5', - ], - 'Timestamp' => [ - 'description' => '交易发送时戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563954336850', - ], - 'Gas' => [ - 'description' => 'Gas值', - 'type' => 'string', - 'example' => '4000000', - ], - 'TxType' => [ - 'description' => '交易类型', - 'type' => 'string', - 'example' => 'UNFREEZE_ACCOUNT_CONTRACT', - ], - 'Period' => [ - 'description' => 'Period', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563954336850', - ], - 'Extentions' => [ - 'type' => 'array', - 'items' => [ - 'description' => '扩展信息', - 'type' => 'string', - 'example' => '[]', - ], - ], - 'Signatures' => [ - 'type' => 'array', - 'items' => [ - 'description' => '签名', - 'type' => 'string', - 'example' => '5s6JhauIqAlMb6d+7...', - ], - ], + 'PageSize' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '页面编号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7DCE6520-E5DB-4859-90AC-BDDB8A5501C6\\",\\n \\"Result\\": {\\n \\"Hash\\": \\"b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca\\",\\n \\"BlockHash\\": \\"1168bc5dd0b78d15446b15ea5a7f7822a7d07c007dd3a50becf98da220fc08f6\\",\\n \\"BlockVersion\\": \\"10\\",\\n \\"BlockHeight\\": 368169,\\n \\"CreateTime\\": 1563954336850,\\n \\"Transaction\\": {\\n \\"Hash\\": \\"b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca\\",\\n \\"Value\\": \\"0\\",\\n \\"From\\": \\"e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b\\",\\n \\"Data\\": \\"“”\\",\\n \\"Nonce\\": \\"5675407026657953619\\",\\n \\"To\\": \\"961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5\\",\\n \\"Timestamp\\": 1563954336850,\\n \\"Gas\\": \\"4000000\\",\\n \\"TxType\\": \\"UNFREEZE_ACCOUNT_CONTRACT\\",\\n \\"Period\\": 1563954336850,\\n \\"Extentions\\": [\\n \\"[]\\"\\n ],\\n \\"Signatures\\": [\\n \\"5s6JhauIqAlMb6d+7...\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainTransactionResponse>\\n <RequestId>7DCE6520-E5DB-4859-90AC-BDDB8A5501C6</RequestId>\\n <Result>\\n <Hash>b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca</Hash>\\n <BlockHash>1168bc5dd0b78d15446b15ea5a7f7822a7d07c007dd3a50becf98da220fc08f6</BlockHash>\\n <BlockVersion>10</BlockVersion>\\n <BlockHeight>368169</BlockHeight>\\n <CreateTime>1563954336850</CreateTime>\\n <Transaction>\\n <Hash>b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca</Hash>\\n <Value>0</Value>\\n <From>e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b</From>\\n <Data>“”</Data>\\n <Nonce>5675407026657953619</Nonce>\\n <To>961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5</To>\\n <Timestamp>1563954336850</Timestamp>\\n <Gas>4000000</Gas>\\n <TxType>UNFREEZE_ACCOUNT_CONTRACT</TxType>\\n <Period>1563954336850</Period>\\n <Extentions>[]</Extentions>\\n <Signatures>5s6JhauIqAlMb6d+7...</Signatures>\\n </Transaction>\\n </Result>\\n</DescribeAntChainTransactionResponse>","errorExample":""}]', - 'title' => '查询蚂蚁区块链交易信息', - 'summary' => '根据交易哈希查询一条蚂蚁区块链的交易信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5EDAC16F-EA3E-4017-B223-D76220F985DF\\",\\n \\"Result\\": {\\n \\"ContractProjects\\": [\\n {\\n \\"UpdateTime\\": 1563954499000,\\n \\"ConsortiumId\\": \\"DV80nJXq\\",\\n \\"CreateTime\\": 1562847564000,\\n \\"ProjectId\\": \\"2L9VK68g\\",\\n \\"ProjectName\\": \\"projectname\\",\\n \\"ProjectVersion\\": \\"5\\",\\n \\"ProjectDescription\\": \\"description\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '获取联盟内合约工程的列表', + 'summary' => '获取联盟内合约工程的列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainInformation' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainContractProjects', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainContractProjectsV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'AntChainId', + 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'pYogqb9v', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'M8GaMEyX'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '10'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页面编号,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1'], ], ], 'responses' => [ @@ -5717,134 +3382,92 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '91246411-C7E9-4EFD-9074-3939AEDFC1BB', - ], + 'HttpStatusCode' => ['description' => ' '."\n" + .'请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'TransactionSum' => [ - 'description' => '交易总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '42', - ], - 'Version' => [ - 'description' => '区块链版本', - 'type' => 'string', - 'example' => '0.10.2.4.7', - ], - 'BlockHeight' => [ - 'description' => '区块链高度', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '365236', - ], - 'CreateTime' => [ - 'description' => '创建时戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1562847396000', - ], - 'NodeNumber' => [ - 'description' => '节点总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'AbnormalNodes' => [ - 'description' => '异常节点数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => 'pYogqb9v', - ], - 'Normal' => [ - 'description' => '运行状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'NodeInfos' => [ - 'description' => '节点信息', + 'ContractProjects' => [ + 'description' => '合约工程', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '节点状态:'."\n" - .'- true:节点正常'."\n" - .'- false:节点异常', - 'type' => 'boolean', - 'example' => 'true', - ], - 'NodeName' => [ - 'description' => '节点地址', - 'type' => 'string', - 'example' => '121.199.195.8 18130', - ], - 'Version' => [ - 'description' => '运行版本', - 'type' => 'string', - 'example' => '0.10', - ], - 'BlockHeight' => [ - 'description' => '区块链高度', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '365216', - ], + 'UpdateTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1609848383000'], + 'ConsortiumId' => ['description' => ' '."\n" + .'联盟ID', 'type' => 'string', 'example' => 'M8GaMEyX'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1609848383000'], + 'ProjectId' => ['description' => '工程ID', 'type' => 'string', 'example' => 'RXwQj6m8'], + 'ProjectName' => ['description' => '工程名称', 'type' => 'string', 'example' => 'test'], + 'ProjectVersion' => ['description' => '工程版本', 'type' => 'string', 'example' => '1.0.0'], + 'ProjectDescription' => ['description' => '工程描述', 'type' => 'string', 'example' => 'test'], ], + 'description' => '', + ], + ], + 'Pagination' => [ + 'description' => ' '."\n" + .'分页信息', + 'type' => 'object', + 'properties' => [ + 'PageSize' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '页面编号,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"91246411-C7E9-4EFD-9074-3939AEDFC1BB\\",\\n \\"Result\\": {\\n \\"TransactionSum\\": 42,\\n \\"Version\\": \\"0.10.2.4.7\\",\\n \\"BlockHeight\\": 365236,\\n \\"CreateTime\\": 1562847396000,\\n \\"NodeNumber\\": 4,\\n \\"AbnormalNodes\\": 0,\\n \\"AntChainId\\": \\"pYogqb9v\\",\\n \\"Normal\\": true,\\n \\"NodeInfos\\": [\\n {\\n \\"Status\\": true,\\n \\"NodeName\\": \\"121.199.195.8 18130\\",\\n \\"Version\\": \\"0.10\\",\\n \\"BlockHeight\\": 365216\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '查询一条蚂蚁区块链的基本信息', - 'summary' => '查询一条蚂蚁区块链的基本信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"ContractProjects\\": [\\n {\\n \\"UpdateTime\\": 1609848383000,\\n \\"ConsortiumId\\": \\"M8GaMEyX\\",\\n \\"CreateTime\\": 1609848383000,\\n \\"ProjectId\\": \\"RXwQj6m8\\",\\n \\"ProjectName\\": \\"test\\",\\n \\"ProjectVersion\\": \\"1.0.0\\",\\n \\"ProjectDescription\\": \\"test\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 100\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainContractProjectsV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <ContractProjects>\\n <UpdateTime>1609848383000</UpdateTime>\\n <ConsortiumId>M8GaMEyX</ConsortiumId>\\n <CreateTime>1609848383000</CreateTime>\\n <ProjectId>RXwQj6m8</ProjectId>\\n <ProjectName>test</ProjectName>\\n <ProjectVersion>1.0.0</ProjectVersion>\\n <ProjectDescription>test</ProjectDescription>\\n </ContractProjects>\\n <Pagination>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>100</TotalCount>\\n </Pagination>\\n </Result>\\n</DescribeAntChainContractProjectsV2Response>","errorExample":""}]', + 'title' => '获取联盟内合约工程列表', + 'summary' => '获取联盟内合约工程的列表(仅适用于阿里云国内站)。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainLatestBlocks' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainContractProjectsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainDownloadPaths' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'pYogqb9v', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1q8B5R9p'], ], ], 'responses' => [ @@ -5852,143 +3475,66 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'B52C552F-DDE6-4779-9BA2-9DD455275528', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E6F487D4-8606-41B5-B289-46D5EFBD3417'], 'Result' => [ 'description' => '请求结果', - 'type' => 'array', - 'items' => [ - 'description' => '请求结果:'."\n" - .'- blockHash:本区块hash'."\n" - .'- previousHash:上一个区块hash'."\n" - .'- size:区块大小'."\n" - .'- createTime:区块时间戳'."\n" - .'- transactionSize:区块内交易个数'."\n" - .'- alias:链ID'."\n" - .'- bizData:交易数据'."\n" - .'- version:区块版本'."\n" - .'- rootTxHash:根hash'."\n" - .'- height:区块高度'."\n", - 'type' => 'object', - 'example' => '[{"blockHash":"","previousHash":"","size":"","createTime":"","transactionSize":"","alias": "","bizData":"","version": "","rootTxHash":"","height":""}]', + 'type' => 'object', + 'properties' => [ + 'SdkUrl' => ['description' => 'SDK下载链接', 'type' => 'string', 'example' => 'http://***'], + 'CaCrtUrl' => ['description' => 'ca.crt下载链接', 'type' => 'string', 'example' => 'http://***ca.crt'], + 'ClientCrtUrl' => ['description' => 'client.crt下载链接', 'type' => 'string', 'example' => 'http://***client.crt'], + 'TrustCaUrl' => ['description' => 'trust.CA下载链接', 'type' => 'string', 'example' => 'http://***trustCa'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B52C552F-DDE6-4779-9BA2-9DD455275528\\",\\n \\"Result\\": [\\n [\\n {\\n \\"blockHash\\": \\"\\",\\n \\"previousHash\\": \\"\\",\\n \\"size\\": \\"\\",\\n \\"createTime\\": \\"\\",\\n \\"transactionSize\\": \\"\\",\\n \\"alias\\": \\"\\",\\n \\"bizData\\": \\"\\",\\n \\"version\\": \\"\\",\\n \\"rootTxHash\\": \\"\\",\\n \\"height\\": \\"\\"\\n }\\n ]\\n ]\\n}","type":"json"}]', - 'title' => '查询一条蚂蚁区块链最新的区块信息列表', - 'summary' => '查询一条蚂蚁区块链最新的区块信息列表。', - ], - 'DescribeAntChainLatestTransactionDigests' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E6F487D4-8606-41B5-B289-46D5EFBD3417\\",\\n \\"Result\\": {\\n \\"SdkUrl\\": \\"http://***\\",\\n \\"CaCrtUrl\\": \\"http://***ca.crt\\",\\n \\"ClientCrtUrl\\": \\"http://***client.crt\\",\\n \\"TrustCaUrl\\": \\"http://***trustCa\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '获取一条蚂蚁区块链相关证书下载地址', + 'summary' => '获取一条蚂蚁区块链相关证书下载地址。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'AntChainId', - 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'pYogqb9v', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '3348160E-187B-47BD-B1B9-76AD4AFA4558', - ], - 'Result' => [ - 'description' => '区块链信息', - 'type' => 'array', - 'items' => [ - 'description' => '请求结果数据:'."\n" - .'- from:交易发起方'."\n" - .'- to:交易目标或合约地址'."\n" - .'- hash:交易hash值'."\n" - .'- createTime 交易时间戳'."\n" - .'- transactionV10Type:交易类型,无其他类型', - 'type' => 'object', - 'example' => '[{"transactionV10Type","createTime","from","to","hash"}]', - ], - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainDownloadPaths', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3348160E-187B-47BD-B1B9-76AD4AFA4558\\",\\n \\"Result\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeAntChainLatestTransactionDigests', - 'summary' => '查询一条蚂蚁区块链最新的交易摘要列表。', ], - 'DescribeAntChainBlock' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAntChainDownloadPathsV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'pYogqb9v', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], ], [ - 'name' => 'Height', + 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '查询区块高度', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '1234', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX'], ], ], 'responses' => [ @@ -5996,131 +3542,68 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '4DDA2E72-778A-4D79-BE70-448A26A57227', - ], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ - 'description' => '请求结果', + 'description' => ' '."\n" + .'请求结果', 'type' => 'object', 'properties' => [ - 'PreviousHash' => [ - 'description' => '前一个区块链哈希', - 'type' => 'string', - 'example' => 'e11767c7b9d92563663a76f10c69e8354788001e2c9e6bd9267239a81d3bb523', - ], - 'Version' => [ - 'description' => '区块版本', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'TransactionSize' => [ - 'description' => '交易数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1562851727742', - ], - 'RootTxHash' => [ - 'description' => '根交易哈希', - 'type' => 'string', - 'example' => '0000000000000000000000000000000000000000000000000000000000000000', - ], - 'Height' => [ - 'description' => '区块高度', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1234', - ], - 'BlockHash' => [ - 'description' => '区块哈希', - 'type' => 'string', - 'example' => 'aeec5963f8deeeae820aaf302f0c925db9fa8d07b9898dac782335f817554e47', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => 'pYogqb9v', - ], - 'TransSummaryList' => [ - 'description' => '交易列表', - 'type' => 'string', - 'example' => '[]', - ], + 'SdkUrl' => ['description' => ' '."\n" + .'sdk下载链接', 'type' => 'string', 'example' => 'http://***'], + 'CaCrtUrl' => ['description' => 'ca.crt下载链接', 'type' => 'string', 'example' => 'http://***ca.crt'], + 'ClientCrtUrl' => ['description' => 'client.crt下载链接', 'type' => 'string', 'example' => 'http://***client.crt'], + 'TrustCaUrl' => ['description' => 'trustCA下载链接', 'type' => 'string', 'example' => 'http://***trustCa'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4DDA2E72-778A-4D79-BE70-448A26A57227\\",\\n \\"Result\\": {\\n \\"PreviousHash\\": \\"e11767c7b9d92563663a76f10c69e8354788001e2c9e6bd9267239a81d3bb523\\",\\n \\"Version\\": 2,\\n \\"TransactionSize\\": 0,\\n \\"CreateTime\\": 1562851727742,\\n \\"RootTxHash\\": \\"0000000000000000000000000000000000000000000000000000000000000000\\",\\n \\"Height\\": 1234,\\n \\"BlockHash\\": \\"aeec5963f8deeeae820aaf302f0c925db9fa8d07b9898dac782335f817554e47\\",\\n \\"AntChainId\\": \\"pYogqb9v\\",\\n \\"TransSummaryList\\": \\"[]\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '根据块高查询一条蚂蚁区块链的区块信息', - 'summary' => '根据块高查询一条蚂蚁区块链的区块信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"SdkUrl\\": \\"http://***\\",\\n \\"CaCrtUrl\\": \\"http://***ca.crt\\",\\n \\"ClientCrtUrl\\": \\"http://***client.crt\\",\\n \\"TrustCaUrl\\": \\"http://***trustCa\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainDownloadPathsV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <SdkUrl>http://***</SdkUrl>\\n <CaCrtUrl>http://***ca.crt</CaCrtUrl>\\n <ClientCrtUrl>http://***client.crt</ClientCrtUrl>\\n <TrustCaUrl>http://***trustCa</TrustCaUrl>\\n </Result>\\n</DescribeAntChainDownloadPathsV2Response>","errorExample":""}]', + 'title' => '获取一条蚂蚁区块链相关证书下载地址', + 'summary' => '获取一条蚂蚁区块链相关证书下载地址(仅适用于阿里云国内站)。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainAccounts' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainDownloadPathsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainInformation' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '10', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'formData', - 'schema' => [ - 'description' => '页面编号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'example' => '1', - ], - ], - [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'pYogqb9v', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v'], ], ], 'responses' => [ @@ -6128,151 +3611,86 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1692940F-87C5-468F-8188-6C95FC05BBA5', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '91246411-C7E9-4EFD-9074-3939AEDFC1BB'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'Accounts' => [ - 'description' => '账户信息', + 'TransactionSum' => ['description' => '交易总数', 'type' => 'integer', 'format' => 'int32', 'example' => '42'], + 'Version' => ['description' => '区块链版本', 'type' => 'string', 'example' => '0.10.2.4.7'], + 'BlockHeight' => ['description' => '区块链高度', 'type' => 'integer', 'format' => 'int32', 'example' => '365236'], + 'CreateTime' => ['description' => '创建时戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1562847396000'], + 'NodeNumber' => ['description' => '节点总数', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'AbnormalNodes' => ['description' => '异常节点数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => 'pYogqb9v'], + 'Normal' => ['description' => '运行状态', 'type' => 'boolean', 'example' => 'true'], + 'NodeInfos' => [ + 'description' => '节点信息', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'AccountPublicKey' => [ - 'description' => '账户公钥', - 'type' => 'string', - 'example' => 'de44334f1094cbd37e952ef691a837f36eab2e9afdf6bed9bf523c2dde40ff7b1ff526ec11b510d320f536685f75dd90f67fda8d41a69738a76a77c27b1373fb', - ], - 'Account' => [ - 'description' => '账户名', - 'type' => 'string', - 'example' => '账户名', - ], - 'AccountRecoveryKey' => [ - 'description' => '账户恢复公钥', - 'type' => 'string', - 'example' => 'ee54a9c4511345f2de05889540eedb8dfed7b57ab0647c5894e4333596bc2ecef07a0469331d016ad9978b39367a0a5c217ef92ffffcbd6716db6667353891a9', - ], - 'AccountStatus' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'NORMAL', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => 'pYogqb9v', - ], - ], - ], - ], - 'Pagination' => [ - 'description' => '分页信息', - 'type' => 'object', - 'properties' => [ - 'PageSize' => [ - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '当前页面编号', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'Status' => ['description' => '节点状态:'."\n" + .'- true:节点正常'."\n" + .'- false:节点异常', 'type' => 'boolean', 'example' => 'true'], + 'NodeName' => ['description' => '节点地址', 'type' => 'string', 'example' => '121.199.195.8 18130'], + 'Version' => ['description' => '运行版本', 'type' => 'string', 'example' => '0.10'], + 'BlockHeight' => ['description' => '区块链高度', 'type' => 'integer', 'format' => 'int64', 'example' => '365216'], ], + 'description' => '', ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1692940F-87C5-468F-8188-6C95FC05BBA5\\",\\n \\"Result\\": {\\n \\"Accounts\\": [\\n {\\n \\"AccountPublicKey\\": \\"de44334f1094cbd37e952ef691a837f36eab2e9afdf6bed9bf523c2dde40ff7b1ff526ec11b510d320f536685f75dd90f67fda8d41a69738a76a77c27b1373fb\\",\\n \\"Account\\": \\"账户名\\",\\n \\"AccountRecoveryKey\\": \\"ee54a9c4511345f2de05889540eedb8dfed7b57ab0647c5894e4333596bc2ecef07a0469331d016ad9978b39367a0a5c217ef92ffffcbd6716db6667353891a9\\",\\n \\"AccountStatus\\": \\"NORMAL\\",\\n \\"AntChainId\\": \\"pYogqb9v\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => 'DescribeAntChainAccounts', - 'summary' => '查询一条蚂蚁区块链的账户列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"91246411-C7E9-4EFD-9074-3939AEDFC1BB\\",\\n \\"Result\\": {\\n \\"TransactionSum\\": 42,\\n \\"Version\\": \\"0.10.2.4.7\\",\\n \\"BlockHeight\\": 365236,\\n \\"CreateTime\\": 1562847396000,\\n \\"NodeNumber\\": 4,\\n \\"AbnormalNodes\\": 0,\\n \\"AntChainId\\": \\"pYogqb9v\\",\\n \\"Normal\\": true,\\n \\"NodeInfos\\": [\\n {\\n \\"Status\\": true,\\n \\"NodeName\\": \\"121.199.195.8 18130\\",\\n \\"Version\\": \\"0.10\\",\\n \\"BlockHeight\\": 365216\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '查询一条蚂蚁区块链的基本信息', + 'summary' => '查询一条蚂蚁区块链的基本信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainCertificateApplications' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2023-04-18T03:54:10.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainInformation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainInformationV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1q8B5R9p', - ], - ], - [ - 'name' => 'Status', - 'in' => 'formData', - 'schema' => [ - 'description' => '状态', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], ], [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '20', - ], - ], - [ - 'name' => 'PageNumber', + 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '页面编号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX'], ], ], 'responses' => [ @@ -6280,149 +3698,85 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'B232A84E-7944-4EB0-83D0-9D409E12E0A8', - ], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'CertificateApplications' => [ - 'description' => '证书申请信息', + 'IsRole' => ['description' => '节点角色,只有fasle,保留字段(未使用)。', 'type' => 'boolean', 'example' => 'false'], + 'TransactionSum' => ['description' => '交易总数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'Version' => ['description' => '区块链版本', 'type' => 'string', 'example' => '0.10'], + 'CreateTime' => ['description' => '创建时戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1609221924000'], + 'BlockHeight' => ['description' => '区块链高度', 'type' => 'integer', 'format' => 'int32', 'example' => '259988'], + 'NodeNumber' => ['description' => '节点总数', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'AbnormalNodes' => ['description' => '异常节点数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], + 'Normal' => ['description' => '运行状态', 'type' => 'boolean', 'example' => 'true'], + 'NodeInfos' => [ + 'description' => '节点信息', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '证书状态:'."\n" - .'- 1:正常'."\n" - .'- 2:被重置', - 'type' => 'string', - 'example' => '1', - ], - 'Updatetime' => [ - 'description' => '更新时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563949275000', - ], - 'Createtime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563949275000', - ], - 'Bid' => [ - 'description' => 'Bid', - 'type' => 'string', - 'example' => '26842', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => '1q8B5R9p', - ], - 'Username' => [ - 'description' => '账户名', - 'type' => 'string', - 'example' => 'uid-128712635330****', - ], - ], - ], - ], - 'Pagination' => [ - 'description' => '分页信息', - 'type' => 'object', - 'properties' => [ - 'PageSize' => [ - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'PageNumber' => [ - 'description' => '页面数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '每页总量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'Status' => ['description' => '节点状态', 'type' => 'boolean', 'example' => 'true'], + 'NodeName' => ['description' => '节点地址', 'type' => 'string', 'example' => '8.136.158.115 18130'], + 'Version' => ['description' => '运行版本', 'type' => 'string', 'example' => '0.10'], + 'BlockHeight' => ['description' => '区块链高度', 'type' => 'integer', 'format' => 'int64', 'example' => '259988'], ], + 'description' => '', ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B232A84E-7944-4EB0-83D0-9D409E12E0A8\\",\\n \\"Result\\": {\\n \\"CertificateApplications\\": [\\n {\\n \\"Status\\": \\"1\\",\\n \\"Updatetime\\": 1563949275000,\\n \\"Createtime\\": 1563949275000,\\n \\"Bid\\": \\"26842\\",\\n \\"AntChainId\\": \\"1q8B5R9p\\",\\n \\"Username\\": \\"uid-128712635330****\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainCertificateApplicationsResponse>\\n <RequestId>B232A84E-7944-4EB0-83D0-9D409E12E0A8</RequestId>\\n <Result>\\n <CertificateApplications>\\n <Status>1</Status>\\n <Updatetime>1563949275000</Updatetime>\\n <Createtime>1563949275000</Createtime>\\n <Bid>26842</Bid>\\n <AntChainId>1q8B5R9p</AntChainId>\\n <Username>uid-128712635330****</Username>\\n </CertificateApplications>\\n <Pagination>\\n <PageSize>20</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>1</TotalCount>\\n </Pagination>\\n </Result>\\n</DescribeAntChainCertificateApplicationsResponse>","errorExample":""}]', - 'title' => '查看联盟成员申请连接蚂蚁区块链信息', - 'summary' => '查看联盟成员申请连接一条蚂蚁区块链的信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"IsRole\\": false,\\n \\"TransactionSum\\": 6,\\n \\"Version\\": \\"0.10\\",\\n \\"CreateTime\\": 1609221924000,\\n \\"BlockHeight\\": 259988,\\n \\"NodeNumber\\": 4,\\n \\"AbnormalNodes\\": 0,\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\",\\n \\"Normal\\": true,\\n \\"NodeInfos\\": [\\n {\\n \\"Status\\": true,\\n \\"NodeName\\": \\"8.136.158.115 18130\\",\\n \\"Version\\": \\"0.10\\",\\n \\"BlockHeight\\": 259988\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainInformationV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <IsRole>false</IsRole>\\n <TransactionSum>6</TransactionSum>\\n <Version>0.10</Version>\\n <CreateTime>1609221924000</CreateTime>\\n <BlockHeight>259988</BlockHeight>\\n <NodeNumber>4</NodeNumber>\\n <AbnormalNodes>0</AbnormalNodes>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n <Normal>true</Normal>\\n <NodeInfos>\\n <Status>true</Status>\\n <NodeName>8.136.158.115 18130</NodeName>\\n <Version>0.10</Version>\\n <BlockHeight>259988</BlockHeight>\\n </NodeInfos>\\n </Result>\\n</DescribeAntChainInformationV2Response>","errorExample":""}]', + 'title' => 'DescribeAntChainInformationV2', + 'summary' => '查询一条蚂蚁区块链的基本信息(仅适用于阿里云国内站)。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainContractProjects' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:57.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainInformationV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainLatestBlocks' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ConsortiumId', - 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DV80nJXq', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '10', - ], - ], - [ - 'name' => 'PageNumber', + 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '页面编号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v'], ], ], 'responses' => [ @@ -6430,238 +3784,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '5EDAC16F-EA3E-4017-B223-D76220F985DF', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'B52C552F-DDE6-4779-9BA2-9DD455275528'], 'Result' => [ 'description' => '请求结果', - 'type' => 'object', - 'properties' => [ - 'ContractProjects' => [ - 'description' => '合约工程', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'UpdateTime' => [ - 'description' => '更新时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563954499000', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'DV80nJXq', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1562847564000', - ], - 'ProjectId' => [ - 'description' => '工程ID', - 'type' => 'string', - 'example' => '2L9VK68g', - ], - 'ProjectName' => [ - 'description' => '工程名称', - 'type' => 'string', - 'example' => 'projectname', - ], - 'ProjectVersion' => [ - 'description' => '工程版本', - 'type' => 'string', - 'example' => '5', - ], - 'ProjectDescription' => [ - 'description' => '工程描述', - 'type' => 'string', - 'example' => 'description', - ], - ], - ], - ], - 'Pagination' => [ - 'description' => '分页信息', - 'type' => 'object', - 'properties' => [ - 'PageSize' => [ - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '页面编号', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - ], + 'type' => 'array', + 'items' => ['description' => '请求结果:'."\n" + .'- blockHash:本区块hash'."\n" + .'- previousHash:上一个区块hash'."\n" + .'- size:区块大小'."\n" + .'- createTime:区块时间戳'."\n" + .'- transactionSize:区块内交易个数'."\n" + .'- alias:链ID'."\n" + .'- bizData:交易数据'."\n" + .'- version:区块版本'."\n" + .'- rootTxHash:根hash'."\n" + .'- height:区块高度'."\n", 'type' => 'object', 'example' => '[{"blockHash":"","previousHash":"","size":"","createTime":"","transactionSize":"","alias": "","bizData":"","version": "","rootTxHash":"","height":""}]'], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5EDAC16F-EA3E-4017-B223-D76220F985DF\\",\\n \\"Result\\": {\\n \\"ContractProjects\\": [\\n {\\n \\"UpdateTime\\": 1563954499000,\\n \\"ConsortiumId\\": \\"DV80nJXq\\",\\n \\"CreateTime\\": 1562847564000,\\n \\"ProjectId\\": \\"2L9VK68g\\",\\n \\"ProjectName\\": \\"projectname\\",\\n \\"ProjectVersion\\": \\"5\\",\\n \\"ProjectDescription\\": \\"description\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '获取联盟内合约工程的列表', - 'summary' => '获取联盟内合约工程的列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeAntChainContractProjectContentTree' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B52C552F-DDE6-4779-9BA2-9DD455275528\\",\\n \\"Result\\": [\\n [\\n {\\n \\"blockHash\\": \\"\\",\\n \\"previousHash\\": \\"\\",\\n \\"size\\": \\"\\",\\n \\"createTime\\": \\"\\",\\n \\"transactionSize\\": \\"\\",\\n \\"alias\\": \\"\\",\\n \\"bizData\\": \\"\\",\\n \\"version\\": \\"\\",\\n \\"rootTxHash\\": \\"\\",\\n \\"height\\": \\"\\"\\n }\\n ]\\n ]\\n}","type":"json"}]', + 'title' => '查询一条蚂蚁区块链最新的区块信息列表', + 'summary' => '查询一条蚂蚁区块链最新的区块信息列表。', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', + 'flowControl' => [ + 'flowControlList' => [], ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'ProjectId', - 'in' => 'formData', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2L9VK68g', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'A0DF307A-A44A-476F-99D8-BA4F205350BD', - ], - 'Result' => [ - 'description' => '请求结果', - 'type' => 'object', - 'properties' => [ - 'ProjectVersion' => [ - 'description' => '工程版本', - 'type' => 'string', - 'example' => '5', - ], - 'ProjectDescription' => [ - 'description' => '工程描述', - 'type' => 'string', - 'example' => 'description', - ], - 'ProjectId' => [ - 'description' => '工程ID', - 'type' => 'string', - 'example' => '2L9VK68g', - ], - 'ProjectName' => [ - 'description' => '工程名称', - 'type' => 'string', - 'example' => 'projectname', - ], - 'Children' => [ - 'type' => 'array', - 'items' => [ - 'description' => '子文件', - 'type' => 'object', - 'example' => '[]', - ], - ], - ], - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainLatestBlocks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A0DF307A-A44A-476F-99D8-BA4F205350BD\\",\\n \\"Result\\": {\\n \\"ProjectVersion\\": \\"5\\",\\n \\"ProjectDescription\\": \\"description\\",\\n \\"ProjectId\\": \\"2L9VK68g\\",\\n \\"ProjectName\\": \\"projectname\\",\\n \\"Children\\": [\\n []\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '获取一个合约工程的内容树', - 'summary' => '获取一个合约工程的内容树。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeAntChainMembers' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAntChainLatestBlocksV2' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'description' => '页面包含条例数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '10', - ], - ], - [ - 'name' => 'PageNumber', + 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '页面编号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '查询一条蚂蚁区块链最新的区块信息列表(仅适用于阿里云国内站'], ], [ 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'q0oWq92P', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX'], ], ], 'responses' => [ @@ -6669,128 +3855,79 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'E0DB75A2-28C8-4295-8851-A157FFB3DFED', - ], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ 'description' => '请求结果', - 'type' => 'object', - 'properties' => [ - 'Members' => [ - 'description' => '联盟成员', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '加入联盟状态', - 'type' => 'string', - 'example' => 'AllianceNotJoined', - ], - 'MemberId' => [ - 'description' => '成员ID', - 'type' => 'string', - 'example' => 'uid-1388601577407805', - ], - 'Role' => [ - 'description' => '成员身份', - 'type' => 'string', - 'example' => 'Member', - ], - 'MemberName' => [ - 'description' => '成员名称', - 'type' => 'string', - 'example' => 'uid-1562589998337656', - ], - 'JoinTime' => [ - 'description' => '成员加入联盟时戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1557477823000', - ], - ], - ], - ], - 'Pagination' => [ - 'description' => '分页信息', - 'type' => 'object', - 'properties' => [ - 'PageSize' => [ - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '页面编号', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - ], - ], + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PreviousHash' => ['description' => '上一个区块哈希', 'type' => 'string', 'example' => 'f208834bdc72bd6bb05c5ef1a35abbc8295a16deda9526b7b78c69ec24591b9f'], + 'Version' => ['description' => '版本信息', 'type' => 'integer', 'format' => 'int64', 'example' => '33556226'], + 'TransactionSize' => ['description' => '区块中交易数量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Size' => ['description' => '区块大小', 'type' => 'integer', 'format' => 'int64', 'example' => '1024'], + 'RootTxHash' => ['description' => '根哈希', 'type' => 'string', 'example' => '0000000000000000000000000000000000000000000000000000000000000000'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1610002621000'], + 'Height' => ['description' => '区块高度', 'type' => 'integer', 'format' => 'int64', 'example' => '259808'], + 'BizData' => ['description' => '区块哈希', 'type' => 'string', 'example' => 'b21baa257788d97eb0006672ccc5008f465365e1dec88d0bbd833e150414b3d5'], + 'BlockHash' => ['description' => '区块哈希', 'type' => 'string', 'example' => 'b21baa257788d97eb0006672ccc5008f465365e1dec88d0bbd833e150414b3d5'], + 'Alias' => ['description' => '区块链ID', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], + ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E0DB75A2-28C8-4295-8851-A157FFB3DFED\\",\\n \\"Result\\": {\\n \\"Members\\": [\\n {\\n \\"Status\\": \\"AllianceNotJoined\\",\\n \\"MemberId\\": \\"uid-1388601577407805\\",\\n \\"Role\\": \\"Member\\",\\n \\"MemberName\\": \\"uid-1562589998337656\\",\\n \\"JoinTime\\": 1557477823000\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 6\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<xml version=\\"1.0\\" encoding=\\"UTF-8\\">\\n\\t<code>200</code>\\n\\t<data>\\n\\t\\t<RequestId>E0DB75A2-28C8-4295-8851-A157FFB3DFED</RequestId>\\n\\t\\t<Result>\\n\\t\\t\\t<Pagination>\\n\\t\\t\\t\\t<PageSize>10</PageSize>\\n\\t\\t\\t\\t<Total>2</Total>\\n\\t\\t\\t\\t<Current>1</Current>\\n\\t\\t\\t</Pagination>\\n\\t\\t\\t<Members>\\n\\t\\t\\t\\t<Status>AllianceJoined</Status>\\n\\t\\t\\t\\t<Role>SuperAdmin</Role>\\n\\t\\t\\t\\t<MemberId>uid-1388601577407805</MemberId>\\n\\t\\t\\t\\t<UserId>OYXLOokN</UserId>\\n\\t\\t\\t\\t<JoinTime>1557477823000</JoinTime>\\n\\t\\t\\t\\t<MemberName>uid-1388601577407805sss</MemberName>\\n\\t\\t\\t</Members>\\n\\t\\t\\t<Members>\\n\\t\\t\\t\\t<Status>AllianceNotJoined</Status>\\n\\t\\t\\t\\t<Role>Member</Role>\\n\\t\\t\\t\\t<MemberId>uid-1562589998337656</MemberId>\\n\\t\\t\\t\\t<UserId>broOV8kD</UserId>\\n\\t\\t\\t\\t<JoinTime>1560147228000</JoinTime>\\n\\t\\t\\t\\t<MemberName>uid-1562589998337656</MemberName>\\n\\t\\t\\t</Members>\\n\\t\\t</Result>\\n\\t</data>\\n\\t<requestId>E0DB75A2-28C8-4295-8851-A157FFB3DFED</requestId>\\n\\t<successResponse>true</successResponse>\\n</xml>\\n","errorExample":""}]', - 'title' => '获取联盟成员列表', - 'summary' => '获取联盟成员列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": [\\n {\\n \\"PreviousHash\\": \\"f208834bdc72bd6bb05c5ef1a35abbc8295a16deda9526b7b78c69ec24591b9f\\",\\n \\"Version\\": 33556226,\\n \\"TransactionSize\\": 0,\\n \\"Size\\": 1024,\\n \\"RootTxHash\\": \\"0000000000000000000000000000000000000000000000000000000000000000\\",\\n \\"CreateTime\\": 1610002621000,\\n \\"Height\\": 259808,\\n \\"BizData\\": \\"b21baa257788d97eb0006672ccc5008f465365e1dec88d0bbd833e150414b3d5\\",\\n \\"BlockHash\\": \\"b21baa257788d97eb0006672ccc5008f465365e1dec88d0bbd833e150414b3d5\\",\\n \\"Alias\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainLatestBlocksV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <PreviousHash>f208834bdc72bd6bb05c5ef1a35abbc8295a16deda9526b7b78c69ec24591b9f</PreviousHash>\\n <Version>33556226</Version>\\n <TransactionSize>0</TransactionSize>\\n <Size>1024</Size>\\n <RootTxHash>0000000000000000000000000000000000000000000000000000000000000000</RootTxHash>\\n <CreateTime>1610002621000</CreateTime>\\n <Height>259808</Height>\\n <BizData>b21baa257788d97eb0006672ccc5008f465365e1dec88d0bbd833e150414b3d5</BizData>\\n <BlockHash>b21baa257788d97eb0006672ccc5008f465365e1dec88d0bbd833e150414b3d5</BlockHash>\\n <Alias>8bd720bde18c4b37b0f4a1c7834db163</Alias>\\n </Result>\\n</DescribeAntChainLatestBlocksV2Response>","errorExample":""}]', + 'title' => '查询一条蚂蚁区块链最新的区块信息列表', + 'summary' => '查询一条蚂蚁区块链最新的区块信息列表(仅适用于阿里云国内站。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainTransactionReceipt' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainLatestBlocksV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainLatestTransactionDigests' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'pYogqb9v', - ], - ], - [ - 'name' => 'Hash', - 'in' => 'formData', - 'schema' => [ - 'description' => '交易哈希', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v'], ], ], 'responses' => [ @@ -6798,84 +3935,65 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9EC8FDC1-ED32-4EC0-AEC2-AFAA906ADBAB', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '3348160E-187B-47BD-B1B9-76AD4AFA4558'], 'Result' => [ - 'description' => '请求结果', - 'type' => 'object', - 'properties' => [ - 'Data' => [ - 'description' => 'Data:自定义结果数据', - 'type' => 'string', - 'example' => 'data', - ], - 'GasUsed' => [ - 'description' => '消耗的Gas', - 'type' => 'string', - 'example' => '20000', - ], - 'Result' => [ - 'description' => '结果,用户自定义错误码:'."\n" - .'- 0:表示交易执行成功'."\n" - .'- 非0:表示交易执行失败', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Logs' => [ - 'type' => 'array', - 'items' => [ - 'description' => 'logs:合约事件', - 'type' => 'string', - 'example' => '[""]', - ], - ], - ], + 'description' => '区块链信息', + 'type' => 'array', + 'items' => ['description' => '请求结果数据:'."\n" + .'- from:交易发起方'."\n" + .'- to:交易目标或合约地址'."\n" + .'- hash:交易hash值'."\n" + .'- createTime 交易时间戳'."\n" + .'- transactionV10Type:交易类型,无其他类型', 'type' => 'object', 'example' => '[{"transactionV10Type","createTime","from","to","hash"}]'], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9EC8FDC1-ED32-4EC0-AEC2-AFAA906ADBAB\\",\\n \\"Result\\": {\\n \\"Data\\": \\"data\\",\\n \\"GasUsed\\": \\"20000\\",\\n \\"Result\\": 0,\\n \\"Logs\\": [\\n \\"[\\\\\\"\\\\\\"]\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '查询蚂蚁区块链交易回执信息', - 'summary' => '根据交易哈希查询一条蚂蚁区块链的交易回执信息。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeAntChainNodes' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3348160E-187B-47BD-B1B9-76AD4AFA4558\\",\\n \\"Result\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeAntChainLatestTransactionDigests', + 'summary' => '查询一条蚂蚁区块链最新的交易摘要列表。', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainLatestTransactionDigests', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeAntChainLatestTransactionDigestsV2' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1q8B5R9p', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], + ], + [ + 'name' => 'ConsortiumId', + 'in' => 'formData', + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX'], ], ], 'responses' => [ @@ -6883,87 +4001,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'BA9738FE-F427-44FD-A1D9-EB4EFB43075A', - ], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ - 'description' => '请求结果', 'type' => 'array', - 'items' => [ - 'description' => '请求结果:'."\n" - .'- publicKey:节点公钥'."\n" - .'- nodeId:节点ID'."\n" - .'- nodestate:节点状态,取值 2, 唯一状态,无其他状态值'."\n" - .'- endpoints:客户端接入地址'."\n" - .'- nodeType:1 共识节点,2 非共识节点', - 'type' => 'object', - 'example' => '["nodeState","publicKey","nodeType","nodeId","endpoints"]', - ], + 'items' => ['description' => '请求结果', 'type' => 'string', 'example' => '[]'], + 'description' => '', ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BA9738FE-F427-44FD-A1D9-EB4EFB43075A\\",\\n \\"Result\\": [\\n [\\n \\"nodeState\\",\\n \\"publicKey\\",\\n \\"nodeType\\",\\n \\"nodeId\\",\\n \\"endpoints\\"\\n ]\\n ]\\n}","type":"json"}]', - 'title' => '查询蚂蚁区块链的节点信息列表', - 'summary' => '查询一条蚂蚁区块链的节点信息列表。', - ], - 'DescribeAntChainTransactionStatistics' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": [\\n \\"[]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainLatestTransactionDigestsV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <CreateTime>1609987477483</CreateTime>\\n <TransactionV10Type>CALL_CONTRACT</TransactionV10Type>\\n <From>e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b</From>\\n <To>e93372533f323b2f12783aa3a586135cf421486439c2cdcde47411b78f9839ec</To>\\n <Hash>076bba1b726b3bcb958cba6fffc03eaa5cbed59320271dcbc0e05648a18a94f2</Hash>\\n </Result>\\n <Result>\\n <CreateTime>1609847759344</CreateTime>\\n <TransactionV10Type>CALL_CONTRACT</TransactionV10Type>\\n <From>e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b</From>\\n <To>e93372533f323b2f12783aa3a586135cf421486439c2cdcde47411b78f9839ec</To>\\n <Hash>227072dcd1a5d78098da99ccc8024304b9fb54fc6b65e37ef919d7f2da080061</Hash>\\n </Result>\\n <Result>\\n <CreateTime>1609227008399</CreateTime>\\n <TransactionV10Type>CALL_CONTRACT</TransactionV10Type>\\n <From>4db58ada9221304b161ab0aa11b032a62d60d9ab29e41c6d238f4401c81c8189</From>\\n <To>9782291a957d28bec9e02f3dcb27d78392815ede7670b70793e0fd9763309cda</To>\\n <Hash>ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1</Hash>\\n </Result>\\n <Result>\\n <CreateTime>1609226974574</CreateTime>\\n <TransactionV10Type>DEPLOY_CONTRACT</TransactionV10Type>\\n <From>4db58ada9221304b161ab0aa11b032a62d60d9ab29e41c6d238f4401c81c8189</From>\\n <To>9782291a957d28bec9e02f3dcb27d78392815ede7670b70793e0fd9763309cda</To>\\n <Hash>2747c362416ab4c11fafca15bf652c51efb363c1fbdd8c0ed45aa20c56083777</Hash>\\n </Result>\\n <Result>\\n <CreateTime>1609226512448</CreateTime>\\n <TransactionV10Type>CREATE_ACCOUNT</TransactionV10Type>\\n <From>e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b</From>\\n <To>4db58ada9221304b161ab0aa11b032a62d60d9ab29e41c6d238f4401c81c8189</To>\\n <Hash>954eb876a579698f4c09aa12a91e22020ca169e13c711db342d391b0ad233f3f</Hash>\\n </Result>\\n <Result>\\n <CreateTime>1609223761557</CreateTime>\\n <TransactionV10Type>CREATE_ACCOUNT</TransactionV10Type>\\n <From>e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b</From>\\n <To>b3d4c1bc05776e66e2f080d6a311b2c0667f623db1b65924a8823e31325e8d2c</To>\\n <Hash>c3b4b3327731cf0221fbac39cc8816438e0617552ae0948ed3f68ec49a20b639</Hash>\\n </Result>\\n</DescribeAntChainLatestTransactionDigestsV2Response>","errorExample":""}]', + 'title' => '查询一条蚂蚁区块链最新的交易摘要列表', + 'summary' => '查询一条蚂蚁区块链最新的交易摘要列表(仅适用于阿里云国内站)。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainLatestTransactionDigestsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainMembers' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'AntChainId', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'pYogqb9v', - ], + 'schema' => ['description' => '页面包含条例数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10'], ], [ - 'name' => 'Start', + 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'description' => '统计开始时间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '1563206400000', - ], + 'schema' => ['description' => '页面编号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], ], [ - 'name' => 'End', + 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '统计结束时间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '1563897600000', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'q0oWq92P'], ], ], 'responses' => [ @@ -6971,69 +4071,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'E93884AC-6C21-4FEA-8E3A-7377D33B194F', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E0DB75A2-28C8-4295-8851-A157FFB3DFED'], 'Result' => [ 'description' => '请求结果', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Dt' => [ - 'description' => '时间', - 'type' => 'string', - 'example' => '2019-07-16', - ], - 'CreatTime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563294007000', - ], - 'LastSumBlockHeight' => [ - 'description' => '最后统计的区块高度', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '148018', - ], - 'TransCount' => [ - 'description' => '交易总量', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', + 'type' => 'object', + 'properties' => [ + 'Members' => [ + 'description' => '联盟成员', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '加入联盟状态', 'type' => 'string', 'example' => 'AllianceNotJoined'], + 'MemberId' => ['description' => '成员ID', 'type' => 'string', 'example' => 'uid-1388601577407805'], + 'Role' => ['description' => '成员身份', 'type' => 'string', 'example' => 'Member'], + 'MemberName' => ['description' => '成员名称', 'type' => 'string', 'example' => 'uid-1562589998337656'], + 'JoinTime' => ['description' => '成员加入联盟时戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1557477823000'], + ], + 'description' => '', ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => 'pYogqb9v', + ], + 'Pagination' => [ + 'description' => '分页信息', + 'type' => 'object', + 'properties' => [ + 'PageSize' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '页面编号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E93884AC-6C21-4FEA-8E3A-7377D33B194F\\",\\n \\"Result\\": [\\n {\\n \\"Dt\\": \\"2019-07-16\\",\\n \\"CreatTime\\": 1563294007000,\\n \\"LastSumBlockHeight\\": 148018,\\n \\"TransCount\\": 0,\\n \\"AntChainId\\": \\"pYogqb9v\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '查询一条蚂蚁区块链的交易统计信息', - 'summary' => '查询一条蚂蚁区块链的交易统计信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E0DB75A2-28C8-4295-8851-A157FFB3DFED\\",\\n \\"Result\\": {\\n \\"Members\\": [\\n {\\n \\"Status\\": \\"AllianceNotJoined\\",\\n \\"MemberId\\": \\"uid-1388601577407805\\",\\n \\"Role\\": \\"Member\\",\\n \\"MemberName\\": \\"uid-1562589998337656\\",\\n \\"JoinTime\\": 1557477823000\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 6\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<xml version=\\"1.0\\" encoding=\\"UTF-8\\">\\n\\t<code>200</code>\\n\\t<data>\\n\\t\\t<RequestId>E0DB75A2-28C8-4295-8851-A157FFB3DFED</RequestId>\\n\\t\\t<Result>\\n\\t\\t\\t<Pagination>\\n\\t\\t\\t\\t<PageSize>10</PageSize>\\n\\t\\t\\t\\t<Total>2</Total>\\n\\t\\t\\t\\t<Current>1</Current>\\n\\t\\t\\t</Pagination>\\n\\t\\t\\t<Members>\\n\\t\\t\\t\\t<Status>AllianceJoined</Status>\\n\\t\\t\\t\\t<Role>SuperAdmin</Role>\\n\\t\\t\\t\\t<MemberId>uid-1388601577407805</MemberId>\\n\\t\\t\\t\\t<UserId>OYXLOokN</UserId>\\n\\t\\t\\t\\t<JoinTime>1557477823000</JoinTime>\\n\\t\\t\\t\\t<MemberName>uid-1388601577407805sss</MemberName>\\n\\t\\t\\t</Members>\\n\\t\\t\\t<Members>\\n\\t\\t\\t\\t<Status>AllianceNotJoined</Status>\\n\\t\\t\\t\\t<Role>Member</Role>\\n\\t\\t\\t\\t<MemberId>uid-1562589998337656</MemberId>\\n\\t\\t\\t\\t<UserId>broOV8kD</UserId>\\n\\t\\t\\t\\t<JoinTime>1560147228000</JoinTime>\\n\\t\\t\\t\\t<MemberName>uid-1562589998337656</MemberName>\\n\\t\\t\\t</Members>\\n\\t\\t</Result>\\n\\t</data>\\n\\t<requestId>E0DB75A2-28C8-4295-8851-A157FFB3DFED</requestId>\\n\\t<successResponse>true</successResponse>\\n</xml>\\n","errorExample":""}]', + 'title' => '获取联盟成员列表', + 'summary' => '获取联盟成员列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainQRCodeAuthorization' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainMembersV2' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7041,31 +4143,22 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'AntChainId', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'bDXK6boZ', - ], + 'schema' => ['description' => '页面包含条例数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '10'], ], [ - 'name' => 'QRCodeType', + 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MINI_APP_BROWSER_TRANSACTION', - ], + 'schema' => ['description' => '页面编号,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '1'], + ], + [ + 'name' => 'ConsortiumId', + 'in' => 'formData', + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'M8GaMEyX'], ], ], 'responses' => [ @@ -7073,50 +4166,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'QRCodeType' => [ - 'description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', - 'type' => 'string', - 'example' => 'MINI_APP_BROWSER_TRANSACTION', - ], - 'AuthorizationType' => [ - 'description' => '授权类型, 当前可选值 为 ALL_USER_AUTHORIZATION 代表授权所有用户,SPECIFIC_USER_AUTHORIZATION 代表授权部分用户,UNAUTHORIZED 代表未授权 ', - 'type' => 'string', - 'example' => 'ALL_USER_AUTHORIZATION', + 'Members' => [ + 'description' => '联盟成员', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '成员身份', 'type' => 'string', 'example' => 'AllianceJoined'], + 'MemberId' => ['description' => '成员ID', 'type' => 'string', 'example' => '1034774750177934'], + 'Role' => ['description' => '加入联盟状态', 'type' => 'string', 'example' => 'Member'], + 'MemberName' => ['description' => '成员名称', 'type' => 'string', 'example' => 'uid-1034774750177934'], + 'JoinTime' => ['description' => '成员加入联盟时戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1609745002000'], + ], + 'description' => '', + ], ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => 'bDXK6boZ', + 'Pagination' => [ + 'description' => '分页信息', + 'type' => 'object', + 'properties' => [ + 'PageSize' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '页面编号,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Result\\": {\\n \\"QRCodeType\\": \\"MINI_APP_BROWSER_TRANSACTION\\",\\n \\"AuthorizationType\\": \\"ALL_USER_AUTHORIZATION\\",\\n \\"AntChainId\\": \\"bDXK6boZ\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainQRCodeAuthorizationResponse>\\n <code>200</code>\\n <data>\\n <RequestId>20023B5C-70E0-40E7-BCE3-DF095C2B62AE</RequestId>\\n <Result>\\n <AuthorizedUserList>\\n <GmtAuthorized>1580434627000</GmtAuthorized>\\n <Phone>1380013****</Phone>\\n </AuthorizedUserList>\\n <AuthorizationType>SPECIFIC_USER_AUTHORIZATION</AuthorizationType>\\n <Bizid>q0oWe792</Bizid>\\n <QRCodeType>MINI_APP_BROWSER_TRANSACTION</QRCodeType>\\n </Result>\\n </data>\\n <requestId>20023B5C-70E0-40E7-BCE3-DF095C2B62AE</requestId>\\n <successResponse>true</successResponse>\\n</DescribeAntChainQRCodeAuthorizationResponse>","errorExample":""}]', - 'title' => '查询蚂蚁区块链交易二维码授权状态', - 'summary' => '查询蚂蚁区块链交易二维码授权状态。', - ], - 'DescribeAntChainMiniAppBrowserQRCodeAccessLog' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"Members\\": [\\n {\\n \\"Status\\": \\"AllianceJoined\\",\\n \\"MemberId\\": \\"1034774750177934\\",\\n \\"Role\\": \\"Member\\",\\n \\"MemberName\\": \\"uid-1034774750177934\\",\\n \\"JoinTime\\": 1609745002000\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 100\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainMembersV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <Members>\\n <Status>AllianceJoined</Status>\\n <MemberId>1034774750177934</MemberId>\\n <Role>Member</Role>\\n <MemberName>uid-1034774750177934</MemberName>\\n <JoinTime>1609745002000</JoinTime>\\n </Members>\\n <Pagination>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>100</TotalCount>\\n </Pagination>\\n </Result>\\n</DescribeAntChainMembersV2Response>","errorExample":""}]', + 'title' => '获取联盟成员列表', + 'summary' => '获取联盟成员列表(仅适用于阿里云国内站)。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMembersV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainMiniAppBrowserQRCodeAccessLog' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7124,31 +4241,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'bDXK6boZ', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ'], ], [ 'name' => 'QRCodeType', 'in' => 'formData', - 'schema' => [ - 'description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MINI_APP_BROWSER_TRANSACTION', - ], + 'schema' => ['description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MINI_APP_BROWSER_TRANSACTION'], ], ], 'responses' => [ @@ -7156,46 +4259,43 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'AccessAlipayAccountCount' => [ - 'description' => '总查询账号数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'AccessCount' => [ - 'description' => '总查询次数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], + 'AccessAlipayAccountCount' => ['description' => '总查询账号数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'AccessCount' => ['description' => '总查询次数', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], ], ], ], + 'description' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Result\\": {\\n \\"AccessAlipayAccountCount\\": 100,\\n \\"AccessCount\\": 1000\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainMiniAppBrowserQRCodeAccessLogResponse>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Result>\\n <AccessAlipayAccountCount>100</AccessAlipayAccountCount>\\n <AccessCount>1000</AccessCount>\\n </Result>\\n</DescribeAntChainMiniAppBrowserQRCodeAccessLogResponse>","errorExample":""}]', 'title' => '查询二维码支付宝端扫码统计信息', 'summary' => '查询蚂蚁区块链的交易二维码支付宝端扫码统计信息。', - ], - 'DescribeAntChainMiniAppBrowserTransactionQRCode' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAccessLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainMiniAppBrowserQRCodeAccessLogV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7203,31 +4303,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'bDXK6boZ', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], ], [ - 'name' => 'TransactionHash', + 'name' => 'QRCodeType', 'in' => 'formData', - 'schema' => [ - 'description' => '交易哈希值', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '4a1f1371012cf840a9e4c6bde430d5ba600e422e592d153bd2689783cd1f87d0', - ], + 'schema' => ['description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MINI_APP_BROWSER_TRANSACTION'], ], ], 'responses' => [ @@ -7235,55 +4321,50 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ - 'description' => '请求结果', + 'description' => ' '."\n" + .'请求结果', 'type' => 'object', 'properties' => [ - 'Base64QRCodePNG' => [ - 'description' => 'Base64编码的二维码 png 图片', - 'type' => 'string', - 'example' => 'iVBORw0KGgo......ABJRU5ErkJggg==', - ], - 'TransactionHash' => [ - 'description' => '交易哈希值', - 'type' => 'string', - 'example' => '10692388f8b729cbb42d2985eebd3567812def357eb826a7ec810ce97e1f295e', - ], - 'QRCodeContent' => [ - 'description' => '二维码内容', - 'type' => 'string', - 'example' => 'https://render.antfin.com/p/s/miniapp-web/?type=trans&from=aliyun&bizid=bDXK6boZ&hash=10692388f8b729cbb42d2985eebd3567812def357eb826a7ec810ce97e1f295e', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => 'bDXK6boZ', - ], + 'AccessAlipayAccountCount' => ['description' => '总查询账号数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'AccessCount' => ['description' => '总查询次数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Result\\": {\\n \\"Base64QRCodePNG\\": \\"iVBORw0KGgo......ABJRU5ErkJggg==\\",\\n \\"TransactionHash\\": \\"10692388f8b729cbb42d2985eebd3567812def357eb826a7ec810ce97e1f295e\\",\\n \\"QRCodeContent\\": \\"https://render.antfin.com/p/s/miniapp-web/?type=trans&from=aliyun&bizid=bDXK6boZ&hash=10692388f8b729cbb42d2985eebd3567812def357eb826a7ec810ce97e1f295e\\",\\n \\"AntChainId\\": \\"bDXK6boZ\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<code>200</code>\\n<data>\\n <RequestId>EEDADC6E-5295-4CC2-B006-5D03719E651E</RequestId>\\n <Result>\\n <AntChainId>q0oWe792</AntChainId>\\n <Base64QRCodePNG>iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAIAAACxN37FAAAbRklEQVR42u2dCXAc1ZnHbZ22Y8AEgg1Jis0m2SJLJVQ2sCxJqMqx2c0m7G5SSaqSrYRK2N0EyxfmCoe5vISEZBOHVNhdgtXdkg+MsQ3YYIzt4AMbzYxkScbGtqxj7lNz9Nwz3f3e275GNuBDtuaNJOv/eUol97RaPf1+79N3ve9NYxDIBSTT8AggABoCAdAQCICGQAA0BEBDIAAaAgHQEAiAhkAANARAQyAAGgIB0BAIgIZAADQEQEMgABoCAdAQCICGQAA0BEBDIFMQ6GkcZDS/azTHR3OfY/m853oPY7nOaI6f67Ot1jPnPe4AGkADaAANoAE0gAbQFzLQvK/DG9xzHbyxTHLecPNQQOM17gAaQANoAA2gATSABtBTBWjeg1q1UHwN74e3Y8cDMh5OKoAG0AAaQANoAA2gATSArh3QPBwy3r+rlskF3skUAA2gATSABtAAGkADaAA9uYHmAetYJtU0zsIjGTReDi6ABtAAGkADaAANoAE0gOZbpMLbWeQBLu/nxgPiWt4/gAbQABpAA2gADaABNIDm6wDh+MQ/PhGSSgAaxwE0gMZxAA2gAfRkApq3VGsyTITkDg8geDh8k1cANIAG0AAaQANoAA2gJwfQPJyGsSRHeA8w7887lufAu4iK9/gCaAANoAE0gAbQABpAT0WgeQfteTiavM/h8Qx5TGweTm21FBOABtAAGkADaAANoAH0hQb0REgijJdDVq0B5uEE1/LZ8oAeQANoAA2gATSABtAA+kIGmneSgnfig4ejVstEFQ8nlUcAoEaqE0ADaAANoAE0gAbQAHrSAc3bAeLh8I1XEofHxKuW81qtBBlvhQigATSABtAAGkADaAA9WYGeaKDX1AXhXIxVLcd0oimISVmcBKABNIAG0AAaQANoAF0Dp7CWTh6PyTMRnL9qFVFNtGcLoAE0gAbQABpAA2gAPdWB5u0Q8BgA3kmN8XKyx6s4iceYAmgADaABNIAG0AAaQE8VoHk/CB4JHd5JDR4Tplo/y+N+xivJBaABNIAG0AAaQE8uoNmkEgDNN7HC23GspfadXFjX5rPwGBcAzQtoNmkFQANoPgTQyosR40Wp/qLWIfu4/kUzX+ZblBLCVMoO5bXvbA1eIvnrpEidGGqQItPF4TopPEMMXP/CwLpAvmRf5sR1ADSA5g20jptKbFgthqnGiMJogbKURqMqCSlaQNFCKhnWiExYjrIyY4ez6hc3+hrF2Awh9Knnhv591/DDXelF+5M3v+i+RPTUi6G57e72wXTZmALGRKGj+6QAehySKeMVYeDzl5/qOlnVNbOugQnVCX47U34tooiD+afekX91KPVw1/D9HZH790eXOeNP9CRWHEr/31F5baD0rW2+5tbA7Dbfgr2RwwWSZVRhrMBYiLA/Hktfvdanq+pr1wx1yuWKQqfVAq5az3/iJIMAdDVFR1lXuofTxeeHsr96O3O3I77EkVrozC50ZhY60vprsTO32Jlf0pFf2JFpcSXmO7Pf2pWZKYXrxeBte4IhTUeZEsMQse2LPGPPDqUvkTxNreElHfGi8QapogYF0FMVaHrmo7ppwdKUORLF3x8evrMz2aJD7Mjc4ZTv7Uws70k+3ZddNZh6ySe/Hs5uj+S2+DPPuVMr++VfHspf93J8uhj5iDjYndeNE0b0OUEsS1lj5ncpyr65Naor6etf8HjKuupnABpAn/+Do4ZK1A1jQ1+arp5lxZo6VLcvTL+uQMkBWVlxSF7ilBc45UVO+cGudOvR7L5owV/U32W6raDDqpqQ6i/FeBGVUh3Wm14J1omRr2+JZFjl2mzEAtf/qQqlvzkYb5L8V648/mZaIdDQtUysTLTioXO65umUsBmt0HGkJtcV3AzRdDRDKn3eLd/VlVzoyC10pH7Rm3wlVBgqqEX9bd3kNc87pQOpk50l7KaXwvVS4Ls7DaDNE0fCGZrpARId6D8NpJol/5yVA9vi5l0wysOZG68s7ITOFF54QI8wTSykTcpM6kiZkb6c9rve9O2dcosr+VBnYrM/H1B1BMmI8qYVhfperA2gSZrSr74cqhci+leZWX8GNOtnbQXNtDJlT/REmwXPPHGgI6MSqlAADaDHArRpCej4EdvaMHSnWmTUlSg/7IzptvKizqRwLOEvaZZRYZ1FT2t5M3NaGLq7xMi9b4WahfCHWofeShv2sREgYZpm63WD72FCv7wlVCeGbtrgCRoWB+EUbgPQUwxoKx1iMKYVKN0zXHqgM93izP+8M/5aMCdbdokVKLa5p2ZMWjvVBXU7QtXfS1D68OFsoxBuFEPfeT3gVqlGdNuamSpa0S+Zoey/j8izxUCTELy7O1E0bkCDhh4fp7BasPJOrIw6xmxyplsalO1LlB906UZz5sGuVEe8lDdsCxtmI+BBtQpy5kw4hf1MC4y+lSr/4I3wB9s906XhOjHwAcH/3R1+l6zkKdPBLTLiKdOHeuJXrvI2CJHLVwWePJbPGzAr1u85p09aLWU0FqewNuFUAD1aoHU0dbVKqHY4ozzQGVvozD7QPdydUVQ7JEEqytgwTU7juBmnlhnrK5ClruEPtw81i75mwffx1YHrNkUbBX+jFPxQ+9A/7gzP3x/84Z7wJ9f4ZoqBejFwVZvnn3fJC1zyC55MiZ4UCAHQAPrcB5uakWEjzqF/CZXJL3tTLc70fa64M1VSqWVqMDsiZ1oklpHM7JDFSKCE6BPCr5Cnj8qfed7fJEQaRO+89v75HbGDafV4mfzn/tC8NnejWc6hGyH6u41i8BLB99WXfZsihd8fyi5wpJd2JvbHi5o9fxR2kqMJoAH0aIE2KzKMf7ppsWZAXuRM3eGSXwvli0YYT9Xsyg07MEFOqlAy/mfE7lSVaQnGNgQLX9sS+IDkrRfDl4jeW7YGXgkXsmaBkq7SdSv81VDhpx3xpjZ/nRC7en3oB7uDK4dyvjIpMTpYUB/vTd7uzCzvTgwVjBTMe4xpAM3FKayWM8EjUD8GDa2ZETj2VrJwd2e8xZkV+zIZMxLBiKZVktFWfZ0V0WMj9XVm2uXNtPLDN8KXS54GIdos+m983i0MpqOaiSQxYiaGXjcDGH0FdvnqoWYhdF9PNmvEQogxIRjVz3AMF+52pRc4c1KfnLUL9sgZPt14QTnpi5MudKAtS4ImNPrk4dR8Z/qRA0nd8DBjzNTU3GykYFQzzRNmkKnp75QYO1rQ7ulKflR0N7eG9dc1a7zLDyTcilWToWtuU4UbNrcZtdbN6yK7rN3dJPke7c4QS/HbIUBSZGzNQHaRQ77HGTuQKBq2O6EAGkCf8z1YVc27I8XFjvQiZ3p7JK8aCGoVA4OO5EGoaS4TI2miRVS64mjqsxu8uufXIAR1+3j+3pAroxbsgImdbRypkraCJLqGnif6Zwj+h3rT2oj9Qu3MpBH36B6+3ZX8w5F0/t2OJ4AG0KO+B2oUHv2mN7HQkdU9wmGNWHq4AqNWsTAMt08nPcPYy5H8328OzRb9dW3+WZL3G6/4t4WLKduPM5PXhoFiZh9PRCyIPg2OFNncNl+zGHikJ2Npf/t80+7RNftL/sJCp7zEme5NlQkD0BM4sVKt4qTzHoB3K2Vbc5rRDeaIFxZ1ppY60rtDpTKr8GycpJlF/ZYZrZvL1JFU/m1n+OK2wXopeLHgveEFb9tAOmlXJlE74mHa27alcfLiFkY9eTZP8jdI/ocOpm2FT63qDdXILRISLGnLD8gLHJlnjmVKlHBSLhNtvAD0mIA2koHE8MOKjAY1drDAfn0kd6uztKw3G1DMrImVmjaw1kzz1whEHCuQZV3Rq9u9jUKkUfR/Yu3QY92JoSJRR1dMZE2hgQKbK/kbpcAjvfIpK0X1q60dzC5wpR7sSvkLGoAG0GcHWrcFioTtTShL9wW+sKH/k+t8l7cH5q0OfOVV/8ZoMWXhbNUemdntGGFPH5X/ZoOnSQg1iIHLxaHb9kRd6XLetBNG+egsoPsL7AoT6Ed7ZHKaLHxPsnRnp7zYldgTLQBoAH12oJOEPtI1/OH2gXoxqFsO9YYNEKnTvxFD84ShBW9GDD1tWAIko7HN4eLXNrtnSYE6MXyx6Pv6VversVLW1NtmXI5VC2haydKkNPZYr3x7Z0rslwF07RIr1XIIqnX90Rcn3dsRnyV666XQVasC39/uX3Yg8diB1A/fCH1sjbepNdjU5rt1Z8Ctkn2p0q27wvOEwQYhNEvwf36D+0996Yi14sQOfBBWbQ3NjMUB9Nn+3Hxn5jcHZU4KqFrjxTtIAKBHBfQH2wL1YvgLG307oqU4o0VmrM3WLY39qfI3toUa2nyzRPdXX49/fI2voW2ovt139erA8p74QNEIPBML4hH3j7KqA60ysi2cW+TIPvDWMIAG0GcHuk6MXPO825lWysaCEc0KLev2sMK0/iL9uxcDuqHcIIYahegVkue23aEuWS1U8t/UXK/FSGXpCas+0LpX2pss3eFK39kRB9AA+uxAN4reXx+Uy8w2GUxMVSuVpxG21pueIXmnS8EbN0dfjxTz1Ip7qJUciB2iNvlUR79cavRA61cfzCpLnYnFrhSArp1TWMui/qqAPnJkzsr+3WkraGYVNFvBYgNc3aJwl8mVa7z1YmBZd1KzrQoyUlr3Pkqrr6H180IKu9eZWOSSz+PJ13K8Lqgox+QF+oo/HekuVar0LSvCXHuiGrV1Wlihn3guPF2K3OVI6YBrZoZv9M5fVTR0grL7OhMLXBkADaDPDvQHhMHXEppm6127R4ZZDWqswT5SIFes9jeKgSd6k9RIv1hRDU2rFdD6eTKlP++Mt7jyABpAj8aG9t/pGM5ZBrFZGGdV+Ou6uETpU0fkZsE/u9Xd7i+ZPWFUwxChTGO0VkDTmELvcSUWAmjeTuFYjtfy+mc+p1EI/kW7+7VIuWSAWjZqlk2nT2HkQFq5dl1ouuRrEL3f2BHZnyjnzGpRRhmtlYbWf9VATlvqSCx2pt/ziXgnwiZCkABAn/NDvGqVv1EIfGyt55njGa9C9b/vMqMhlazzFz6z3l8vBpskX6Pgr5d889q9SztiR/JWL44aAW1mv8t3ONN3dsQANIA++zlPHUvPlYYaBP9M0ffZ9aHb3vD/ZHfgpk2+S0S3TvPFkvunHfGfdcQ/snqgSQg2twb+ap3/qaOyp0zK7+rkxdi7m9/SM0Y9zgb0iZ/WjfXtodwiZ/o+B4AG0KM4J8uoNJS5Yf3QrNZAvRBuao3Wt4XqpNDM1tA1zw397mgiSViGsh2x4rdfC84xWzjPEoNfecW3yptNMqt/qFnIYb0YObEC4LT9nU8N9Ei3mpMyj1R3TFf2Z1pcyV/2ZAB07ZzCsTgftXRKTvU3nZYYGyiS/z2e/Zdt/ps3ur+wYeCWLb5fH84ezOt+oVnLbHiKWlyjkqfw+fV9MwSjdOlSyfP9naE9spKxHEp7maHZqcMOZmvnrKErIe7KPKCyxn7Rk1rsSrb25arolFfL0eet4AD0OQNtti4y1KxKDU2s/11PMGMdimoG8IjRSlQ1iu2pSpjR4c6rssd7Ep983t0shnSb5KpVA3c7o+/kVaWyDICMZA0pO13E+nRAn1wVYun4g3Lp7s7sHY7kG+EigAbQoxhUc2WqnSwxI80mVMQ+ZlsURodcy7rQUc1TdiCtLtkXvrJtqEH0zRR8n13n+8ORVFA112wz64dG1hDS0Zscpm7XKgtkVH3+rHNnWpzZB7vS7oIKoAH0aIC23TlSWSVl6UbFbgttqO21b/siZU0hdpEHMZdhZSl7I1q6ZWtolhScLoUuEv1ffjnwkj+XsRYemqvB1dNULZ0BaLMeyVoYrgbK2mPdiRZH+pmjmXxV8wAAugoPopYT5qzXPNmGHulMYLUDtZoNjCQOo4T9+KWD+3PlPxyKrTscNrqXM8VYuGUay7KOuyd940bfbCHQ0Bq5WPB+b2fozXgxY2r7czQ57J7R1nqvEiWbA4UljuRdxiLZosbOp41BtYqHqjVJqkwdgD7VmkLLWKUnQLPtBMt0Zm/KpRvW9399R/TbLx3rL6qqaSDbfcDMzjG6NTJUIv91MP7X69wzhIBuWH9klftuZ+wd3ae09f/JYeXK76EG0HPbfI1i8JHeNLFjdCdMoKBCl3fKCx2ZFYdzOSPpQwA0gD470O/PzFXibobBkNHoN1/1NkjBBjH6T5v7Y4YC1+yeSYzaeUOzQb9uEnRllZZ90XniYL0YaBQC1633r3gnHSJWjallFtvzxihNJayvSOe1uZvE0LKetGZiXAn4kQJj692ZRY70nY6EK17SmEYpgAbQ5wy01ciAmu1HjWjdsEquW++tF8J1UvjG9ceCZrskbSQgYbJq2CDWCizCcoTtSCi3bPfPkXz1QuyiVv/NG32bgsUUMQN71P4lxFhAQLsK9DIpoGvo7+7Nbo8rPoWUTRu9zOiBhHKPMzXflVp5LJk2LGpFg4auZWKFh8NRI6fw3UCTSmbEDNopJcp+eyh5qa6hpciy7mTe3AToPdaJ2aCf2W28DCOEhAkTBzM3bXTPFI3ltJeLgz/aHdwbLxeY3aQjqtKn+zNf3OJvFIenS5GZrcHLnj1+/QuBh7pSxwvaUFF7oifR4sw/ciDZn9fMYilV4+bM1XKhxqTJFF4oQFvLrTW7IYxG9H+dBfKXLwTq26KLXfJaX2pTIBUqM6PojiqkskmQZs0Es2+01VqxyNhgUf3FwcTH13p1o6JB9F+92ntPV+JYQT1eZt/bbrQkrRdCTUJspuifJbqbhWC9FG5e6b/xxehdB4y+TUuduT3RklrpOkYBNIA+/4do19yxVz3xb77svXZTqEEKzxajcwT/pZLnc+vdzw1lCtZSLWLnZsz1rMxe0WLb4VqekZ6s9rPdsSskb73kaZICn37ee8NLUd3CbhYC127wLn87tjehOFLqM33yl7cGZkue6WLoQ2u839+XWT2Yzduzi51hDxcADaDPLHazLmp0l6P7QklXqvSr3tjNW2OXSOF6ITJdik6XQh9tO/rnaEmzMt52Rw5KT+4YTW2wdT2vc7k9WvzWNv8c0d0g6LZ1qFkM/+DP0eMlUjAXeukn6dZzjNDHDyYvavc1CKEvbQ57lcomsyNJcQDNFWgexfg1K1Q/g3I284TWtpsGqsGS+iunf31S+9Ta/hnt3mk60GJituD9n2MyMZqD6SeWLJWs2vNBOxGANkMW5sZvZFhjK45nL10TniZGb9rgO14097+qRMKtKZQi7Na94QYhPFca2pEoU3uNI3vPsnJ+oPBwKCd0YmUKAP1+jU1LlK56O7ziaPwftgX/9sXQdWv7f7Td905OMbeeMPaL0NjI5oT0fS9iBUP0c3ZFSxcLnnopsOIdWamkBM3mj5plq+im+b60cqnobxICTx6WT2c7A2gAff5AW0UcWcbCxfLPt/UdL5MYNco5VKvXnRmIPpFXrJQX2bCOdEYwM5DrBnMzBO/Fre5dshUVsVPjIyWnVqvpz70YrZNCP9kVzp/G0gDQAHoMQFv7rlBWJjSmEIVZDf01w94g5nGz5zkZCUbY/UrpSVvEWnWlZNVgtknyzGkd2JuxQnykctaII0ljGrthc6SuLfjjnQB6/BIr4wXxeSdlzu0j2TVLWqXJgaWDjW0z38koTx1OPzeYd8ULAYXmjU5iZnNH82zFzNOoxuabLM/ohmBppuRuljzt3pxiLwGwzHU7m6Nf9kiRzF0z1CD5l3UlyBm3+q5W4qlaSmRSOoVTE2hqx81GAKtsJEvYq57kAldqoSN9hzN9l3P4ycPp1qHcRm9uRzC/J5zbHc7uCqU3B9Jr3PJT/bmWDvmy9nCdGP7X17xRQz2XrLi1teWFtefQwz3xZjF4keDZECqfeW05gAbQ5wv0yNoqM/hh9pqx+hlQf1FrH8gt707e40gscmbmOzMtzvRCZ1r/fokzt9iVu8OZbXEZNc0LHJlFHbnPb4o1CuHZkvfR7sQwsbLotq2dpboKz1+5ylcvDH9pi9en2v0UADSAribQlbp7e8OrynIUYgUorNKLsEK65fLWYOnZo/LveuOPH4g91Bm73zF8f0d8mSP5aJf8ZLf8x8Optb7cC1Hl+o3uOsk/R/T/x5/DO2PlfpUNEbY/rS07MHz1Gk+D6Ptwm3dTIK/aQW4AXSugqw7ZtOotpK2yDT067o2INKVZQuMq8StGXzx3yfgmphJZI2VixKtVpu6Plz7znLtZ8DcKwcvafNesPv7ptX1XtbubxECDEL6yve+PfXLO0M4KOY2G5ldINLkEQDP+o0tHakWZXdhM7Byiudmm2R2PvZ0j898IfGy1r0kMGrWpQqhRGJ7bFrhli/f1WNGMCZobZVENQAPocQW6snUms/doIxbd9r5YRqEpNTd4o0lKXbL6zLH0kjc9LbsGf3sotSNWDmnMWt/FrHZj5BQruLiWegLoyQr05B1gAF3rxEq1io2qdf2pMMDTOAgPBxRAcwR6cpE99qgRgJ4qQHNaNsajFBZAA2gADaCr5wjycP6q9UAn2s/yBoVHsRGPewDQABpAA2gADaABNIC+kIHmfR3e50yEAa5WooqHwzfRJiSABtAAGkADaAANoAH0tCmyT+FEfkC8kz48EhO1/LwTXwA0gAbQABpAA2gADaAnB9C1DLCfKwTVcphqmVipFoi1LN6q1lgAaAANoAE0gAbQABpATxWgeTttvM8fr0nLw4nkARYP+PiNEYAG0AAaQANoAA2gAfTkALpa8E2EQvhaFvTUMtEzXgqoNgVJABpAA2gADaABNIAG0BcO0BPhofBwjHiDVcvnUMt7qJHbDaABNIAG0AAaQANoAD0pgK4lxDwSLhOh4In3RK3Wc67l/QNoAA2gATSABtAAGkBfyEBzN/M5O3a8HcRqTbBawsFDMVUrGQegATSABtAAGkADaAB9IQA9Xs7QeCWDeB+vpQNXy89Vm6IuAA2gATSABtAAGkAD6MkHNI/rjAX08YKPd6JnLPfAO/ExvsVMABpAA2gADaABNIAG0JMb6MnobPGAoFqOXS3vZyIUVwFoAA2gATSABtAAGkAD6NoBzRsO3g4fD1h5jynv6wBoAA2gATSABtAAGkAD6OoPNu+iHB4FVbyLk2oDEL/kF4AG0AAaQANoAA2gAfRUBLqWD2W8nMVqXbOWBUM8PguPRBWABtAAGkADaAANoAH0VAGaR1HLRHCAqgUED9B5jEW1Ple1fhZAA2gADaABNIAG0AD6QgMaApk4AqAhABoCAdAQCICGQAA0BEBDIAAaAgHQEAiAhkAANARAQyAAGgIB0BAIgIZAADQEQEMgABoCAdAQCICGQAA0BEBDIJNO/h8w6wmAisg8HAAAAABJRU5ErkJggg==</Base64QRCodePNG>\\n <qrCodeContent>https://render.antfin.com/p/s/miniapp-web/?type=trans&from=aliyun&bizid=bDXK6boZ&hash=10692388f8b729cbb42d2985eebd3567812def357eb826a7ec810ce97e1f295e</qrCodeContent>\\n <TransactionHash>10692388f8b729cbb42d2985eebd3567812def357eb826a7ec810ce97e1f295e</TransactionHash>\\n </Result>\\n</data>\\n<requestId>EEDADC6E-5295-4CC2-B006-5D03719E651E</requestId>\\n<successResponse>true</successResponse>","errorExample":""}]', - 'title' => '获取蚂蚁区块链交易二维码', - 'summary' => '获取蚂蚁区块链交易二维码。', - ], - 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsers' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"AccessAlipayAccountCount\\": 10,\\n \\"AccessCount\\": 100\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <AccessAlipayAccountCount>10</AccessAlipayAccountCount>\\n <AccessCount>100</AccessCount>\\n </Result>\\n</DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response>","errorExample":""}]', + 'title' => '查询蚂蚁区块链支付宝端扫码统计信息', + 'summary' => '查询蚂蚁区块链的交易二维码支付宝端扫码统计信息。', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAccessLogV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsers' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7291,55 +4372,27 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'bDXK6boZ', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ'], ], [ 'name' => 'QRCodeType', 'in' => 'formData', - 'schema' => [ - 'description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MINI_APP_BROWSER_TRANSACTION', - ], + 'schema' => ['description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MINI_APP_BROWSER_TRANSACTION'], ], [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '每页显示条例数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '10', - ], + 'schema' => ['description' => '每页显示条例数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10'], ], [ 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'description' => '页面编号,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => '页面编号,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'], ], ], 'responses' => [ @@ -7347,76 +4400,39 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'QRCodeType' => [ - 'description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', - 'type' => 'string', - 'example' => 'MINI_APP_BROWSER_TRANSACTION', - ], - 'AuthorizationType' => [ - 'description' => '授权类型, 当前可选值 为 ALL_USER_AUTHORIZATION 代表授权所有用户,SPECIFIC_USER_AUTHORIZATION 代表授权部分用户,UNAUTHORIZED 代表未授权 ', - 'type' => 'string', - 'example' => 'ALL_USER_AUTHORIZATION', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => 'bDXK6boZ', - ], + 'QRCodeType' => ['description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', 'type' => 'string', 'example' => 'MINI_APP_BROWSER_TRANSACTION'], + 'AuthorizationType' => ['description' => '授权类型, 当前可选值 为 ALL_USER_AUTHORIZATION 代表授权所有用户,SPECIFIC_USER_AUTHORIZATION 代表授权部分用户,UNAUTHORIZED 代表未授权 ', 'type' => 'string', 'example' => 'ALL_USER_AUTHORIZATION'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => 'bDXK6boZ'], 'AuthorizedUserList' => [ 'description' => '授权用户列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'GmtAuthorized' => [ - 'description' => '授权时间', - 'type' => 'string', - 'example' => '1580958389000', - ], - 'Phone' => [ - 'description' => '被授权手机号', - 'type' => 'string', - 'example' => '1380013****', - ], + 'GmtAuthorized' => ['description' => '授权时间', 'type' => 'string', 'example' => '1580958389000'], + 'Phone' => ['description' => '被授权手机号', 'type' => 'string', 'example' => '1380013****'], ], + 'description' => '', ], ], 'Pagination' => [ 'description' => '分页情况', 'type' => 'object', 'properties' => [ - 'PageNumber' => [ - 'description' => '页面编号,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageSize' => [ - 'description' => '每页显示条例数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总授权用户数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'PageNumber' => ['description' => '页面编号,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageSize' => ['description' => '每页显示条例数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '总授权用户数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], ], ], ], ], ], + 'description' => '', ], ], ], @@ -7426,17 +4442,26 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7444,59 +4469,27 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8bd720bde18c4b37b0f4a1c7834db163', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], ], [ 'name' => 'QRCodeType', 'in' => 'formData', - 'schema' => [ - 'description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MINI_APP_BROWSER_TRANSACTION', - ], + 'schema' => ['description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MINI_APP_BROWSER_TRANSACTION'], ], [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '每页显示条例数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '10', - ], + 'schema' => ['description' => '每页显示条例数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '10'], ], [ 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'description' => '页面编号,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '1', - ], + 'schema' => ['description' => '页面编号,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1'], ], ], 'responses' => [ @@ -7504,60 +4497,20 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '请求返回码', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResultMessage' => [ - 'description' => '结果消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '请求消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResultCode' => [ - 'description' => '结果码', - 'type' => 'string', - 'example' => 'OK', - ], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'QRCodeType' => [ - 'description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', - 'type' => 'string', - 'example' => 'MINI_APP_BROWSER_TRANSACTION', - ], - 'AuthorizationType' => [ - 'description' => '授权类型, 当前可选值为 ALL_USER_AUTHORIZATION 代表授权所有用户,SPECIFIC_USER_AUTHORIZATION 代表授权部分用户,UNAUTHORIZED 代表未授权', - 'type' => 'string', - 'example' => 'SPECIFIC_USER_AUTHORIZATION', - ], - 'AntChainId' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'example' => '4505A1E4-0EDD-4A02-A4D7-B49219328D49', - ], + 'QRCodeType' => ['description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', 'type' => 'string', 'example' => 'MINI_APP_BROWSER_TRANSACTION'], + 'AuthorizationType' => ['description' => '授权类型, 当前可选值为 ALL_USER_AUTHORIZATION 代表授权所有用户,SPECIFIC_USER_AUTHORIZATION 代表授权部分用户,UNAUTHORIZED 代表未授权', 'type' => 'string', 'example' => 'SPECIFIC_USER_AUTHORIZATION'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => '4505A1E4-0EDD-4A02-A4D7-B49219328D49'], 'AuthorizedUserList' => [ 'description' => ' '."\n" .'授权用户列表', @@ -7565,46 +4518,25 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'GmtAuthorized' => [ - 'description' => '授权时间', - 'type' => 'string', - 'example' => '2021-01-07 10:55:42', - ], - 'Phone' => [ - 'description' => '被授权手机号', - 'type' => 'string', - 'example' => '13800138011', - ], + 'GmtAuthorized' => ['description' => '授权时间', 'type' => 'string', 'example' => '2021-01-07 10:55:42'], + 'Phone' => ['description' => '被授权手机号', 'type' => 'string', 'example' => '13800138011'], ], + 'description' => '', ], ], 'Pagination' => [ 'description' => '分页情况', 'type' => 'object', 'properties' => [ - 'PageSize' => [ - 'description' => '每页显示条例数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '页面编号,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总授权用户数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'PageSize' => ['description' => '每页显示条例数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '页面编号,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '总授权用户数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], ], ], ], ], ], + 'description' => '', ], ], ], @@ -7614,36 +4546,47 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ResetAntChainCertificate' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeAntChainMiniAppBrowserTransactionQRCode' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'pYogqb9v', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ'], + ], + [ + 'name' => 'TransactionHash', + 'in' => 'formData', + 'schema' => ['description' => '交易哈希值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '4a1f1371012cf840a9e4c6bde430d5ba600e422e592d153bd2689783cd1f87d0'], ], ], 'responses' => [ @@ -7651,68 +4594,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], 'Result' => [ 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6ED983D3-C131-4104-8BDD-1F37992258E1', + 'type' => 'object', + 'properties' => [ + 'Base64QRCodePNG' => ['description' => 'Base64编码的二维码 png 图片', 'type' => 'string', 'example' => 'iVBORw0KGgo......ABJRU5ErkJggg=='], + 'TransactionHash' => ['description' => '交易哈希值', 'type' => 'string', 'example' => '10692388f8b729cbb42d2985eebd3567812def357eb826a7ec810ce97e1f295e'], + 'QRCodeContent' => ['description' => '二维码内容', 'type' => 'string', 'example' => 'https://render.antfin.com/p/s/miniapp-web/?type=trans&from=aliyun&bizid=bDXK6boZ&hash=10692388f8b729cbb42d2985eebd3567812def357eb826a7ec810ce97e1f295e'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => 'bDXK6boZ'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"6ED983D3-C131-4104-8BDD-1F37992258E1\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '重置证书', - 'summary' => '重置证书。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ApplyAntChainCertificate' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Result\\": {\\n \\"Base64QRCodePNG\\": \\"iVBORw0KGgo......ABJRU5ErkJggg==\\",\\n \\"TransactionHash\\": \\"10692388f8b729cbb42d2985eebd3567812def357eb826a7ec810ce97e1f295e\\",\\n \\"QRCodeContent\\": \\"https://render.antfin.com/p/s/miniapp-web/?type=trans&from=aliyun&bizid=bDXK6boZ&hash=10692388f8b729cbb42d2985eebd3567812def357eb826a7ec810ce97e1f295e\\",\\n \\"AntChainId\\": \\"bDXK6boZ\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<code>200</code>\\n<data>\\n <RequestId>EEDADC6E-5295-4CC2-B006-5D03719E651E</RequestId>\\n <Result>\\n <AntChainId>q0oWe792</AntChainId>\\n <Base64QRCodePNG>iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAIAAACxN37FAAAbRklEQVR42u2dCXAc1ZnHbZ22Y8AEgg1Jis0m2SJLJVQ2sCxJqMqx2c0m7G5SSaqSrYRK2N0EyxfmCoe5vISEZBOHVNhdgtXdkg+MsQ3YYIzt4AMbzYxkScbGtqxj7lNz9Nwz3f3e275GNuBDtuaNJOv/eUol97RaPf1+79N3ve9NYxDIBSTT8AggABoCAdAQCICGQAA0BEBDIAAaAgHQEAiAhkAANARAQyAAGgIB0BAIgIZAADQEQEMgABoCAdAQCICGQAA0BEBDIFMQ6GkcZDS/azTHR3OfY/m853oPY7nOaI6f67Ot1jPnPe4AGkADaAANoAE0gAbQFzLQvK/DG9xzHbyxTHLecPNQQOM17gAaQANoAA2gATSABtBTBWjeg1q1UHwN74e3Y8cDMh5OKoAG0AAaQANoAA2gATSArh3QPBwy3r+rlskF3skUAA2gATSABtAAGkADaAA9uYHmAetYJtU0zsIjGTReDi6ABtAAGkADaAANoAE0gOZbpMLbWeQBLu/nxgPiWt4/gAbQABpAA2gADaABNIDm6wDh+MQ/PhGSSgAaxwE0gMZxAA2gAfRkApq3VGsyTITkDg8geDh8k1cANIAG0AAaQANoAA2gJwfQPJyGsSRHeA8w7887lufAu4iK9/gCaAANoAE0gAbQABpAT0WgeQfteTiavM/h8Qx5TGweTm21FBOABtAAGkADaAANoAH0hQb0REgijJdDVq0B5uEE1/LZ8oAeQANoAA2gATSABtAA+kIGmneSgnfig4ejVstEFQ8nlUcAoEaqE0ADaAANoAE0gAbQAHrSAc3bAeLh8I1XEofHxKuW81qtBBlvhQigATSABtAAGkADaAA9WYGeaKDX1AXhXIxVLcd0oimISVmcBKABNIAG0AAaQANoAF0Dp7CWTh6PyTMRnL9qFVFNtGcLoAE0gAbQABpAA2gAPdWB5u0Q8BgA3kmN8XKyx6s4iceYAmgADaABNIAG0AAaQE8VoHk/CB4JHd5JDR4Tplo/y+N+xivJBaABNIAG0AAaQE8uoNmkEgDNN7HC23GspfadXFjX5rPwGBcAzQtoNmkFQANoPgTQyosR40Wp/qLWIfu4/kUzX+ZblBLCVMoO5bXvbA1eIvnrpEidGGqQItPF4TopPEMMXP/CwLpAvmRf5sR1ADSA5g20jptKbFgthqnGiMJogbKURqMqCSlaQNFCKhnWiExYjrIyY4ez6hc3+hrF2Awh9Knnhv591/DDXelF+5M3v+i+RPTUi6G57e72wXTZmALGRKGj+6QAehySKeMVYeDzl5/qOlnVNbOugQnVCX47U34tooiD+afekX91KPVw1/D9HZH790eXOeNP9CRWHEr/31F5baD0rW2+5tbA7Dbfgr2RwwWSZVRhrMBYiLA/Hktfvdanq+pr1wx1yuWKQqfVAq5az3/iJIMAdDVFR1lXuofTxeeHsr96O3O3I77EkVrozC50ZhY60vprsTO32Jlf0pFf2JFpcSXmO7Pf2pWZKYXrxeBte4IhTUeZEsMQse2LPGPPDqUvkTxNreElHfGi8QapogYF0FMVaHrmo7ppwdKUORLF3x8evrMz2aJD7Mjc4ZTv7Uws70k+3ZddNZh6ySe/Hs5uj+S2+DPPuVMr++VfHspf93J8uhj5iDjYndeNE0b0OUEsS1lj5ncpyr65Naor6etf8HjKuupnABpAn/+Do4ZK1A1jQ1+arp5lxZo6VLcvTL+uQMkBWVlxSF7ilBc45UVO+cGudOvR7L5owV/U32W6raDDqpqQ6i/FeBGVUh3Wm14J1omRr2+JZFjl2mzEAtf/qQqlvzkYb5L8V648/mZaIdDQtUysTLTioXO65umUsBmt0HGkJtcV3AzRdDRDKn3eLd/VlVzoyC10pH7Rm3wlVBgqqEX9bd3kNc87pQOpk50l7KaXwvVS4Ls7DaDNE0fCGZrpARId6D8NpJol/5yVA9vi5l0wysOZG68s7ITOFF54QI8wTSykTcpM6kiZkb6c9rve9O2dcosr+VBnYrM/H1B1BMmI8qYVhfperA2gSZrSr74cqhci+leZWX8GNOtnbQXNtDJlT/REmwXPPHGgI6MSqlAADaDHArRpCej4EdvaMHSnWmTUlSg/7IzptvKizqRwLOEvaZZRYZ1FT2t5M3NaGLq7xMi9b4WahfCHWofeShv2sREgYZpm63WD72FCv7wlVCeGbtrgCRoWB+EUbgPQUwxoKx1iMKYVKN0zXHqgM93izP+8M/5aMCdbdokVKLa5p2ZMWjvVBXU7QtXfS1D68OFsoxBuFEPfeT3gVqlGdNuamSpa0S+Zoey/j8izxUCTELy7O1E0bkCDhh4fp7BasPJOrIw6xmxyplsalO1LlB906UZz5sGuVEe8lDdsCxtmI+BBtQpy5kw4hf1MC4y+lSr/4I3wB9s906XhOjHwAcH/3R1+l6zkKdPBLTLiKdOHeuJXrvI2CJHLVwWePJbPGzAr1u85p09aLWU0FqewNuFUAD1aoHU0dbVKqHY4ozzQGVvozD7QPdydUVQ7JEEqytgwTU7juBmnlhnrK5ClruEPtw81i75mwffx1YHrNkUbBX+jFPxQ+9A/7gzP3x/84Z7wJ9f4ZoqBejFwVZvnn3fJC1zyC55MiZ4UCAHQAPrcB5uakWEjzqF/CZXJL3tTLc70fa64M1VSqWVqMDsiZ1oklpHM7JDFSKCE6BPCr5Cnj8qfed7fJEQaRO+89v75HbGDafV4mfzn/tC8NnejWc6hGyH6u41i8BLB99WXfZsihd8fyi5wpJd2JvbHi5o9fxR2kqMJoAH0aIE2KzKMf7ppsWZAXuRM3eGSXwvli0YYT9Xsyg07MEFOqlAy/mfE7lSVaQnGNgQLX9sS+IDkrRfDl4jeW7YGXgkXsmaBkq7SdSv81VDhpx3xpjZ/nRC7en3oB7uDK4dyvjIpMTpYUB/vTd7uzCzvTgwVjBTMe4xpAM3FKayWM8EjUD8GDa2ZETj2VrJwd2e8xZkV+zIZMxLBiKZVktFWfZ0V0WMj9XVm2uXNtPLDN8KXS54GIdos+m983i0MpqOaiSQxYiaGXjcDGH0FdvnqoWYhdF9PNmvEQogxIRjVz3AMF+52pRc4c1KfnLUL9sgZPt14QTnpi5MudKAtS4ImNPrk4dR8Z/qRA0nd8DBjzNTU3GykYFQzzRNmkKnp75QYO1rQ7ulKflR0N7eG9dc1a7zLDyTcilWToWtuU4UbNrcZtdbN6yK7rN3dJPke7c4QS/HbIUBSZGzNQHaRQ77HGTuQKBq2O6EAGkCf8z1YVc27I8XFjvQiZ3p7JK8aCGoVA4OO5EGoaS4TI2miRVS64mjqsxu8uufXIAR1+3j+3pAroxbsgImdbRypkraCJLqGnif6Zwj+h3rT2oj9Qu3MpBH36B6+3ZX8w5F0/t2OJ4AG0KO+B2oUHv2mN7HQkdU9wmGNWHq4AqNWsTAMt08nPcPYy5H8328OzRb9dW3+WZL3G6/4t4WLKduPM5PXhoFiZh9PRCyIPg2OFNncNl+zGHikJ2Npf/t80+7RNftL/sJCp7zEme5NlQkD0BM4sVKt4qTzHoB3K2Vbc5rRDeaIFxZ1ppY60rtDpTKr8GycpJlF/ZYZrZvL1JFU/m1n+OK2wXopeLHgveEFb9tAOmlXJlE74mHa27alcfLiFkY9eTZP8jdI/ocOpm2FT63qDdXILRISLGnLD8gLHJlnjmVKlHBSLhNtvAD0mIA2koHE8MOKjAY1drDAfn0kd6uztKw3G1DMrImVmjaw1kzz1whEHCuQZV3Rq9u9jUKkUfR/Yu3QY92JoSJRR1dMZE2hgQKbK/kbpcAjvfIpK0X1q60dzC5wpR7sSvkLGoAG0GcHWrcFioTtTShL9wW+sKH/k+t8l7cH5q0OfOVV/8ZoMWXhbNUemdntGGFPH5X/ZoOnSQg1iIHLxaHb9kRd6XLetBNG+egsoPsL7AoT6Ed7ZHKaLHxPsnRnp7zYldgTLQBoAH12oJOEPtI1/OH2gXoxqFsO9YYNEKnTvxFD84ShBW9GDD1tWAIko7HN4eLXNrtnSYE6MXyx6Pv6VversVLW1NtmXI5VC2haydKkNPZYr3x7Z0rslwF07RIr1XIIqnX90Rcn3dsRnyV666XQVasC39/uX3Yg8diB1A/fCH1sjbepNdjU5rt1Z8Ctkn2p0q27wvOEwQYhNEvwf36D+0996Yi14sQOfBBWbQ3NjMUB9Nn+3Hxn5jcHZU4KqFrjxTtIAKBHBfQH2wL1YvgLG307oqU4o0VmrM3WLY39qfI3toUa2nyzRPdXX49/fI2voW2ovt139erA8p74QNEIPBML4hH3j7KqA60ysi2cW+TIPvDWMIAG0GcHuk6MXPO825lWysaCEc0KLev2sMK0/iL9uxcDuqHcIIYahegVkue23aEuWS1U8t/UXK/FSGXpCas+0LpX2pss3eFK39kRB9AA+uxAN4reXx+Uy8w2GUxMVSuVpxG21pueIXmnS8EbN0dfjxTz1Ip7qJUciB2iNvlUR79cavRA61cfzCpLnYnFrhSArp1TWMui/qqAPnJkzsr+3WkraGYVNFvBYgNc3aJwl8mVa7z1YmBZd1KzrQoyUlr3Pkqrr6H180IKu9eZWOSSz+PJ13K8Lqgox+QF+oo/HekuVar0LSvCXHuiGrV1Wlihn3guPF2K3OVI6YBrZoZv9M5fVTR0grL7OhMLXBkADaDPDvQHhMHXEppm6127R4ZZDWqswT5SIFes9jeKgSd6k9RIv1hRDU2rFdD6eTKlP++Mt7jyABpAj8aG9t/pGM5ZBrFZGGdV+Ou6uETpU0fkZsE/u9Xd7i+ZPWFUwxChTGO0VkDTmELvcSUWAmjeTuFYjtfy+mc+p1EI/kW7+7VIuWSAWjZqlk2nT2HkQFq5dl1ouuRrEL3f2BHZnyjnzGpRRhmtlYbWf9VATlvqSCx2pt/ziXgnwiZCkABAn/NDvGqVv1EIfGyt55njGa9C9b/vMqMhlazzFz6z3l8vBpskX6Pgr5d889q9SztiR/JWL44aAW1mv8t3ONN3dsQANIA++zlPHUvPlYYaBP9M0ffZ9aHb3vD/ZHfgpk2+S0S3TvPFkvunHfGfdcQ/snqgSQg2twb+ap3/qaOyp0zK7+rkxdi7m9/SM0Y9zgb0iZ/WjfXtodwiZ/o+B4AG0KM4J8uoNJS5Yf3QrNZAvRBuao3Wt4XqpNDM1tA1zw397mgiSViGsh2x4rdfC84xWzjPEoNfecW3yptNMqt/qFnIYb0YObEC4LT9nU8N9Ei3mpMyj1R3TFf2Z1pcyV/2ZAB07ZzCsTgftXRKTvU3nZYYGyiS/z2e/Zdt/ps3ur+wYeCWLb5fH84ezOt+oVnLbHiKWlyjkqfw+fV9MwSjdOlSyfP9naE9spKxHEp7maHZqcMOZmvnrKErIe7KPKCyxn7Rk1rsSrb25arolFfL0eet4AD0OQNtti4y1KxKDU2s/11PMGMdimoG8IjRSlQ1iu2pSpjR4c6rssd7Ep983t0shnSb5KpVA3c7o+/kVaWyDICMZA0pO13E+nRAn1wVYun4g3Lp7s7sHY7kG+EigAbQoxhUc2WqnSwxI80mVMQ+ZlsURodcy7rQUc1TdiCtLtkXvrJtqEH0zRR8n13n+8ORVFA112wz64dG1hDS0Zscpm7XKgtkVH3+rHNnWpzZB7vS7oIKoAH0aIC23TlSWSVl6UbFbgttqO21b/siZU0hdpEHMZdhZSl7I1q6ZWtolhScLoUuEv1ffjnwkj+XsRYemqvB1dNULZ0BaLMeyVoYrgbK2mPdiRZH+pmjmXxV8wAAugoPopYT5qzXPNmGHulMYLUDtZoNjCQOo4T9+KWD+3PlPxyKrTscNrqXM8VYuGUay7KOuyd940bfbCHQ0Bq5WPB+b2fozXgxY2r7czQ57J7R1nqvEiWbA4UljuRdxiLZosbOp41BtYqHqjVJqkwdgD7VmkLLWKUnQLPtBMt0Zm/KpRvW9399R/TbLx3rL6qqaSDbfcDMzjG6NTJUIv91MP7X69wzhIBuWH9klftuZ+wd3ae09f/JYeXK76EG0HPbfI1i8JHeNLFjdCdMoKBCl3fKCx2ZFYdzOSPpQwA0gD470O/PzFXibobBkNHoN1/1NkjBBjH6T5v7Y4YC1+yeSYzaeUOzQb9uEnRllZZ90XniYL0YaBQC1633r3gnHSJWjallFtvzxihNJayvSOe1uZvE0LKetGZiXAn4kQJj692ZRY70nY6EK17SmEYpgAbQ5wy01ciAmu1HjWjdsEquW++tF8J1UvjG9ceCZrskbSQgYbJq2CDWCizCcoTtSCi3bPfPkXz1QuyiVv/NG32bgsUUMQN71P4lxFhAQLsK9DIpoGvo7+7Nbo8rPoWUTRu9zOiBhHKPMzXflVp5LJk2LGpFg4auZWKFh8NRI6fw3UCTSmbEDNopJcp+eyh5qa6hpciy7mTe3AToPdaJ2aCf2W28DCOEhAkTBzM3bXTPFI3ltJeLgz/aHdwbLxeY3aQjqtKn+zNf3OJvFIenS5GZrcHLnj1+/QuBh7pSxwvaUFF7oifR4sw/ciDZn9fMYilV4+bM1XKhxqTJFF4oQFvLrTW7IYxG9H+dBfKXLwTq26KLXfJaX2pTIBUqM6PojiqkskmQZs0Es2+01VqxyNhgUf3FwcTH13p1o6JB9F+92ntPV+JYQT1eZt/bbrQkrRdCTUJspuifJbqbhWC9FG5e6b/xxehdB4y+TUuduT3RklrpOkYBNIA+/4do19yxVz3xb77svXZTqEEKzxajcwT/pZLnc+vdzw1lCtZSLWLnZsz1rMxe0WLb4VqekZ6s9rPdsSskb73kaZICn37ee8NLUd3CbhYC127wLn87tjehOFLqM33yl7cGZkue6WLoQ2u839+XWT2Yzduzi51hDxcADaDPLHazLmp0l6P7QklXqvSr3tjNW2OXSOF6ITJdik6XQh9tO/rnaEmzMt52Rw5KT+4YTW2wdT2vc7k9WvzWNv8c0d0g6LZ1qFkM/+DP0eMlUjAXeukn6dZzjNDHDyYvavc1CKEvbQ57lcomsyNJcQDNFWgexfg1K1Q/g3I284TWtpsGqsGS+iunf31S+9Ta/hnt3mk60GJituD9n2MyMZqD6SeWLJWs2vNBOxGANkMW5sZvZFhjK45nL10TniZGb9rgO14097+qRMKtKZQi7Na94QYhPFca2pEoU3uNI3vPsnJ+oPBwKCd0YmUKAP1+jU1LlK56O7ziaPwftgX/9sXQdWv7f7Td905OMbeeMPaL0NjI5oT0fS9iBUP0c3ZFSxcLnnopsOIdWamkBM3mj5plq+im+b60cqnobxICTx6WT2c7A2gAff5AW0UcWcbCxfLPt/UdL5MYNco5VKvXnRmIPpFXrJQX2bCOdEYwM5DrBnMzBO/Fre5dshUVsVPjIyWnVqvpz70YrZNCP9kVzp/G0gDQAHoMQFv7rlBWJjSmEIVZDf01w94g5nGz5zkZCUbY/UrpSVvEWnWlZNVgtknyzGkd2JuxQnykctaII0ljGrthc6SuLfjjnQB6/BIr4wXxeSdlzu0j2TVLWqXJgaWDjW0z38koTx1OPzeYd8ULAYXmjU5iZnNH82zFzNOoxuabLM/ohmBppuRuljzt3pxiLwGwzHU7m6Nf9kiRzF0z1CD5l3UlyBm3+q5W4qlaSmRSOoVTE2hqx81GAKtsJEvYq57kAldqoSN9hzN9l3P4ycPp1qHcRm9uRzC/J5zbHc7uCqU3B9Jr3PJT/bmWDvmy9nCdGP7X17xRQz2XrLi1teWFtefQwz3xZjF4keDZECqfeW05gAbQ5wv0yNoqM/hh9pqx+hlQf1FrH8gt707e40gscmbmOzMtzvRCZ1r/fokzt9iVu8OZbXEZNc0LHJlFHbnPb4o1CuHZkvfR7sQwsbLotq2dpboKz1+5ylcvDH9pi9en2v0UADSAribQlbp7e8OrynIUYgUorNKLsEK65fLWYOnZo/LveuOPH4g91Bm73zF8f0d8mSP5aJf8ZLf8x8Optb7cC1Hl+o3uOsk/R/T/x5/DO2PlfpUNEbY/rS07MHz1Gk+D6Ptwm3dTIK/aQW4AXSugqw7ZtOotpK2yDT067o2INKVZQuMq8StGXzx3yfgmphJZI2VixKtVpu6Plz7znLtZ8DcKwcvafNesPv7ptX1XtbubxECDEL6yve+PfXLO0M4KOY2G5ldINLkEQDP+o0tHakWZXdhM7Byiudmm2R2PvZ0j898IfGy1r0kMGrWpQqhRGJ7bFrhli/f1WNGMCZobZVENQAPocQW6snUms/doIxbd9r5YRqEpNTd4o0lKXbL6zLH0kjc9LbsGf3sotSNWDmnMWt/FrHZj5BQruLiWegLoyQr05B1gAF3rxEq1io2qdf2pMMDTOAgPBxRAcwR6cpE99qgRgJ4qQHNaNsajFBZAA2gADaCr5wjycP6q9UAn2s/yBoVHsRGPewDQABpAA2gADaABNIC+kIHmfR3e50yEAa5WooqHwzfRJiSABtAAGkADaAANoAH0tCmyT+FEfkC8kz48EhO1/LwTXwA0gAbQABpAA2gADaAnB9C1DLCfKwTVcphqmVipFoi1LN6q1lgAaAANoAE0gAbQABpATxWgeTttvM8fr0nLw4nkARYP+PiNEYAG0AAaQANoAA2gAfTkALpa8E2EQvhaFvTUMtEzXgqoNgVJABpAA2gADaABNIAG0BcO0BPhofBwjHiDVcvnUMt7qJHbDaABNIAG0AAaQANoAD0pgK4lxDwSLhOh4In3RK3Wc67l/QNoAA2gATSABtAAGkBfyEBzN/M5O3a8HcRqTbBawsFDMVUrGQegATSABtAAGkADaAB9IQA9Xs7QeCWDeB+vpQNXy89Vm6IuAA2gATSABtAAGkAD6MkHNI/rjAX08YKPd6JnLPfAO/ExvsVMABpAA2gADaABNIAG0JMb6MnobPGAoFqOXS3vZyIUVwFoAA2gATSABtAAGkAD6NoBzRsO3g4fD1h5jynv6wBoAA2gATSABtAAGkAD6OoPNu+iHB4FVbyLk2oDEL/kF4AG0AAaQANoAA2gAfRUBLqWD2W8nMVqXbOWBUM8PguPRBWABtAAGkADaAANoAH0VAGaR1HLRHCAqgUED9B5jEW1Ple1fhZAA2gADaABNIAG0AD6QgMaApk4AqAhABoCAdAQCICGQAA0BEBDIAAaAgHQEAiAhkAANARAQyAAGgIB0BAIgIZAADQEQEMgABoCAdAQCICGQAA0BEBDIJNO/h8w6wmAisg8HAAAAABJRU5ErkJggg==</Base64QRCodePNG>\\n <qrCodeContent>https://render.antfin.com/p/s/miniapp-web/?type=trans&from=aliyun&bizid=bDXK6boZ&hash=10692388f8b729cbb42d2985eebd3567812def357eb826a7ec810ce97e1f295e</qrCodeContent>\\n <TransactionHash>10692388f8b729cbb42d2985eebd3567812def357eb826a7ec810ce97e1f295e</TransactionHash>\\n </Result>\\n</data>\\n<requestId>EEDADC6E-5295-4CC2-B006-5D03719E651E</requestId>\\n<successResponse>true</successResponse>","errorExample":""}]', + 'title' => '获取蚂蚁区块链交易二维码', + 'summary' => '获取蚂蚁区块链交易二维码。', + 'changeSet' => [ + ['createdAt' => '2023-04-18T03:54:10.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMiniAppBrowserTransactionQRCode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeAntChainMiniAppBrowserTransactionQRCodeNew' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'bDXK6boZ', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ'], ], [ - 'name' => 'UploadReq', + 'name' => 'TransactionHash', 'in' => 'formData', - 'schema' => [ - 'description' => '上传内容', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'LS0tLS1...', - ], + 'schema' => ['description' => '交易哈希值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '4a1f1371012cf840a9e4c6bde430d5ba600e422e592d153bd2689783cd1f87d0'], + ], + [ + 'name' => 'ContractId', + 'in' => 'formData', + 'schema' => ['description' => '合约ID', 'type' => 'string', 'required' => false, 'example' => '9782291a957d28bec9e02f3dcb27d78392815ede7670b70793e0fd9763309cda'], ], ], 'responses' => [ @@ -7720,145 +4666,136 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D3FB9E67-0E31-4B8B-8895-3660CCE8CA62', + 'type' => 'object', + 'properties' => [ + 'Base64QRCodePNG' => ['description' => 'Base64编码的二维码 png 图片', 'type' => 'string', 'example' => 'iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAIAAACxN37FAAAcb0lEQVR42u3dCZAc1XkAYGlPSRZIGIwEtos4tlM4lE05hhBsU'], + 'QRCodeContent' => ['description' => '二维码内容', 'type' => 'string', 'example' => 'https://render.antfin.com/p/s/miniapp-web/?type=trans&from=aliyun&bizid=8bd720bde18c4b37b0f4a1c7834db163&hash=ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1&contractId='], + 'TransactionHash' => ['description' => '交易Hash', 'type' => 'string', 'example' => 'ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"D3FB9E67-0E31-4B8B-8895-3660CCE8CA62\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '申请链接蚂蚁区块链', - 'summary' => '申请链接一条蚂蚁区块链,上传 TLS 证书请求。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"Base64QRCodePNG\\": \\"iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAIAAACxN37FAAAcb0lEQVR42u3dCZAc1XkAYGlPSRZIGIwEtos4tlM4lE05hhBsU\\",\\n \\"QRCodeContent\\": \\"https://render.antfin.com/p/s/miniapp-web/?type=trans&from=aliyun&bizid=8bd720bde18c4b37b0f4a1c7834db163&hash=ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1&contractId=\\",\\n \\"TransactionHash\\": \\"ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1\\",\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <Base64QRCodePNG>iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAIAAACxN37FAAAcb0lEQVR42u3dCZAc1XkAYGlPSRZIGIwEtos4tlM4lE05hhBsU</Base64QRCodePNG>\\n <QRCodeContent>https://render.antfin.com/p/s/miniapp-web/?type=trans&from=aliyun&bizid=8bd720bde18c4b37b0f4a1c7834db163&hash=ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1&contractId=</QRCodeContent>\\n <TransactionHash>ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1</TransactionHash>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n </Result>\\n</DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse>","errorExample":""}]', + 'title' => '获取蚂蚁区块链交易二维码', + 'summary' => '获取蚂蚁区块链交易二维码(仅适用于阿里云国内站)。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ApplyAntChainCertificateWithKeyAutoCreation' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:57.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMiniAppBrowserTransactionQRCodeNew', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainNodes' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1q8B5R9p', - ], - ], - [ - 'name' => 'ConsortiumId', - 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DV80nJXq', - ], - ], - [ - 'name' => 'Password', - 'in' => 'formData', - 'schema' => [ - 'description' => 'SSL密钥密码'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'password', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1q8B5R9p'], ], - [ - 'name' => 'CountryName', - 'in' => 'formData', - 'schema' => [ - 'description' => '城市名(L)', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'countryName', - ], - ], - [ - 'name' => 'StateOrProvinceName', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '省名(ST)'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'stateOrProvinceName', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'BA9738FE-F427-44FD-A1D9-EB4EFB43075A'], + 'Result' => [ + 'description' => '请求结果', + 'type' => 'array', + 'items' => ['description' => '请求结果:'."\n" + .'- publicKey:节点公钥'."\n" + .'- nodeId:节点ID'."\n" + .'- nodestate:节点状态,取值 2, 唯一状态,无其他状态值'."\n" + .'- endpoints:客户端接入地址'."\n" + .'- nodeType:1 共识节点,2 非共识节点', 'type' => 'object', 'example' => '["nodeState","publicKey","nodeType","nodeId","endpoints"]'], + ], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BA9738FE-F427-44FD-A1D9-EB4EFB43075A\\",\\n \\"Result\\": [\\n [\\n \\"nodeState\\",\\n \\"publicKey\\",\\n \\"nodeType\\",\\n \\"nodeId\\",\\n \\"endpoints\\"\\n ]\\n ]\\n}","type":"json"}]', + 'title' => '查询蚂蚁区块链的节点信息列表', + 'summary' => '查询一条蚂蚁区块链的节点信息列表。', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:56.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'LocalityName', - 'in' => 'formData', - 'schema' => [ - 'description' => '国家名(C)', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'localityName', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainNodes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeAntChainNodesV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'OrganizationName', - 'in' => 'formData', - 'schema' => [ - 'description' => '机构名(O)', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'organizationName ', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'OrganizationUnitName', + 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '组织单位名(OU)'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'organizationUnitName ', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], ], [ - 'name' => 'CommonName', + 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '通用名称(CN)', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'commonName', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX'], ], ], 'responses' => [ @@ -7866,100 +4803,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '3E1894AF-FEE7-4C6C-8C2A-2B3EE0105B07', - ], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ - 'description' => '请求结果', - 'type' => 'object', - 'properties' => [ - 'PrivateKey' => [ - 'description' => '私钥', - 'type' => 'string', - 'example' => '-----BEGIN ENCRYPTED PRIVATE KEY-----\\nMII***A=\\n-----END ENCRYPTED PRIVATE KEY-----\\n', - ], - 'DownloadPath' => [ - 'description' => '下载地址', - 'type' => 'object', - 'properties' => [ - 'SdkUrl' => [ - 'description' => 'SDK下载链接', - 'type' => 'string', - 'example' => 'http://***', - ], - 'ClientCrtUrl' => [ - 'description' => 'client.crt下载链接', - 'type' => 'string', - 'example' => 'http://***client.crt', - ], - 'CaCrtUrl' => [ - 'description' => 'ca.crt下载链接', - 'type' => 'string', - 'example' => 'http://***ca.crt', - ], - 'TrustCaUrl' => [ - 'description' => 'trust.CA下载链接', - 'type' => 'string', - 'example' => 'http://***trustCa', - ], - ], - ], - ], + 'type' => 'array', + 'items' => ['description' => '请求结果', 'type' => 'string', 'example' => '[]'], + 'description' => '', ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3E1894AF-FEE7-4C6C-8C2A-2B3EE0105B07\\",\\n \\"Result\\": {\\n \\"PrivateKey\\": \\"-----BEGIN ENCRYPTED PRIVATE KEY-----\\\\\\\\nMII***A=\\\\\\\\n-----END ENCRYPTED PRIVATE KEY-----\\\\\\\\n\\",\\n \\"DownloadPath\\": {\\n \\"SdkUrl\\": \\"http://***\\",\\n \\"ClientCrtUrl\\": \\"http://***client.crt\\",\\n \\"CaCrtUrl\\": \\"http://***ca.crt\\",\\n \\"TrustCaUrl\\": \\"http://***trustCa\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '申请链接一条蚂蚁区块链', - 'summary' => '申请链接一条蚂蚁区块链,自动生成证书等连接信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": [\\n \\"[]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainNodesV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>[]</Result>\\n</DescribeAntChainNodesV2Response>","errorExample":""}]', + 'title' => '查询蚂蚁区块链节点信息列表', + 'summary' => '查询一条蚂蚁区块链的节点信息列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ResetAntChainUserCertificate' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainNodesV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainQRCodeAuthorization' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'bDXK6boZ', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ'], ], [ - 'name' => 'Username', + 'name' => 'QRCodeType', 'in' => 'formData', - 'schema' => [ - 'description' => '用户名', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'uid-128712635330****', - ], + 'schema' => ['description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MINI_APP_BROWSER_TRANSACTION'], ], ], 'responses' => [ @@ -7967,68 +4874,65 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], 'Result' => [ 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '3EB828D1-1E9D-4EC2-A002-139FE998D674', + 'type' => 'object', + 'properties' => [ + 'QRCodeType' => ['description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', 'type' => 'string', 'example' => 'MINI_APP_BROWSER_TRANSACTION'], + 'AuthorizationType' => ['description' => '授权类型, 当前可选值 为 ALL_USER_AUTHORIZATION 代表授权所有用户,SPECIFIC_USER_AUTHORIZATION 代表授权部分用户,UNAUTHORIZED 代表未授权 ', 'type' => 'string', 'example' => 'ALL_USER_AUTHORIZATION'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => 'bDXK6boZ'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"3EB828D1-1E9D-4EC2-A002-139FE998D674\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '重置用户', - 'summary' => '重置用户。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'UnfreezeAntChainAccount' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Result\\": {\\n \\"QRCodeType\\": \\"MINI_APP_BROWSER_TRANSACTION\\",\\n \\"AuthorizationType\\": \\"ALL_USER_AUTHORIZATION\\",\\n \\"AntChainId\\": \\"bDXK6boZ\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainQRCodeAuthorizationResponse>\\n <code>200</code>\\n <data>\\n <RequestId>20023B5C-70E0-40E7-BCE3-DF095C2B62AE</RequestId>\\n <Result>\\n <AuthorizedUserList>\\n <GmtAuthorized>1580434627000</GmtAuthorized>\\n <Phone>1380013****</Phone>\\n </AuthorizedUserList>\\n <AuthorizationType>SPECIFIC_USER_AUTHORIZATION</AuthorizationType>\\n <Bizid>q0oWe792</Bizid>\\n <QRCodeType>MINI_APP_BROWSER_TRANSACTION</QRCodeType>\\n </Result>\\n </data>\\n <requestId>20023B5C-70E0-40E7-BCE3-DF095C2B62AE</requestId>\\n <successResponse>true</successResponse>\\n</DescribeAntChainQRCodeAuthorizationResponse>","errorExample":""}]', + 'title' => '查询蚂蚁区块链交易二维码授权状态', + 'summary' => '查询蚂蚁区块链交易二维码授权状态。', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:56.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainQRCodeAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeAntChainQRCodeAuthorizationV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1q8B5R9p', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], ], [ - 'name' => 'Account', + 'name' => 'QRCodeType', 'in' => 'formData', - 'schema' => [ - 'description' => '账户名', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'accountname', - ], + 'schema' => ['description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MINI_APP_BROWSER_TRANSACTION'], ], ], 'responses' => [ @@ -8036,68 +4940,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '980061FC-058D-4298-8598-D9DDB10D0ED4'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6ED983D3-C131-4104-8BDD-1F37992258E1', + 'type' => 'object', + 'properties' => [ + 'QRCodeType' => ['description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', 'type' => 'string', 'example' => 'MINI_APP_BROWSER_TRANSACTION'], + 'AuthorizationType' => ['description' => '授权类型, 当前可选值为 ALL_USER_AUTHORIZATION 代表授权所有用户,SPECIFIC_USER_AUTHORIZATION 代表授权部分用户,UNAUTHORIZED 代表未授权', 'type' => 'string', 'example' => 'ALL_USER_AUTHORIZATION'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"6ED983D3-C131-4104-8BDD-1F37992258E1\\"\\n}","errorExample":""},{"type":"xml","example":"<UnfreezeAntChainAccountResponse>\\r\\n\\t<code>200</code>\\r\\n\\t<data>\\r\\n\\t\\t<RequestId>6ED983D3-C131-4104-8BDD-1F37992258E1</RequestId>\\r\\n\\t\\t<Result>success</Result>\\r\\n\\t</data>\\r\\n\\t<requestId>6ED983D3-C131-4104-8BDD-1F37992258E1</requestId>\\r\\n\\t<successResponse>true</successResponse>\\r\\n</UnfreezeAntChainAccountResponse>","errorExample":""}]', - 'title' => '解冻一个蚂蚁区块链上的账户', - 'summary' => '解冻一个蚂蚁区块链上的账户。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"980061FC-058D-4298-8598-D9DDB10D0ED4\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"QRCodeType\\": \\"MINI_APP_BROWSER_TRANSACTION\\",\\n \\"AuthorizationType\\": \\"ALL_USER_AUTHORIZATION\\",\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainQRCodeAuthorizationV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>980061FC-058D-4298-8598-D9DDB10D0ED4</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <QRCodeType>MINI_APP_BROWSER_TRANSACTION</QRCodeType>\\n <AuthorizationType>ALL_USER_AUTHORIZATION</AuthorizationType>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n </Result>\\n</DescribeAntChainQRCodeAuthorizationV2Response>","errorExample":""}]', + 'title' => '查询交易二维码授权状态', + 'summary' => '查询蚂蚁区块链交易二维码授权状态。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'FreezeAntChainAccount' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainQRCodeAuthorizationV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainTransaction' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1q8B5R9p', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v'], ], [ - 'name' => 'Account', + 'name' => 'Hash', 'in' => 'formData', - 'schema' => [ - 'description' => '账户名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'accountname', - ], + 'schema' => ['description' => '交易哈希', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca'], ], ], 'responses' => [ @@ -8105,89 +5011,95 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '7DCE6520-E5DB-4859-90AC-BDDB8A5501C6'], 'Result' => [ 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9F862442-F6AD-4B5F-8969-CE23DE1413CB', + 'type' => 'object', + 'properties' => [ + 'Hash' => ['description' => '交易哈希', 'type' => 'string', 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca'], + 'BlockHash' => ['description' => '区块哈希', 'type' => 'string', 'example' => '1168bc5dd0b78d15446b15ea5a7f7822a7d07c007dd3a50becf98da220fc08f6'], + 'BlockVersion' => ['description' => '区块版本', 'type' => 'string', 'example' => '10'], + 'BlockHeight' => ['description' => '区块高度', 'type' => 'integer', 'format' => 'int64', 'example' => '368169'], + 'CreateTime' => ['description' => '交易创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1563954336850'], + 'Transaction' => [ + 'description' => '交易详情', + 'type' => 'object', + 'properties' => [ + 'Hash' => ['description' => '交易哈希', 'type' => 'string', 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca'], + 'Value' => ['description' => '交易金额', 'type' => 'string', 'example' => '0'], + 'From' => ['description' => '交易发送者哈希', 'type' => 'string', 'example' => 'e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b'], + 'Data' => ['description' => '数据', 'type' => 'string', 'example' => '“”'], + 'Nonce' => ['description' => '交易Nonce', 'type' => 'string', 'example' => '5675407026657953619'], + 'To' => ['description' => '交易接收方地址', 'type' => 'string', 'example' => '961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5'], + 'Timestamp' => ['description' => '交易发送时戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1563954336850'], + 'Gas' => ['description' => 'Gas值', 'type' => 'string', 'example' => '4000000'], + 'TxType' => ['description' => '交易类型', 'type' => 'string', 'example' => 'UNFREEZE_ACCOUNT_CONTRACT'], + 'Period' => ['description' => 'Period', 'type' => 'integer', 'format' => 'int64', 'example' => '1563954336850'], + 'Extentions' => [ + 'type' => 'array', + 'items' => ['description' => '扩展信息', 'type' => 'string', 'example' => '[]'], + 'description' => '', + ], + 'Signatures' => [ + 'type' => 'array', + 'items' => ['description' => '签名', 'type' => 'string', 'example' => '5s6JhauIqAlMb6d+7...'], + 'description' => '', + ], + ], + ], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"9F862442-F6AD-4B5F-8969-CE23DE1413CB\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '冻结一个蚂蚁区块链上的账户', - 'summary' => '冻结一个蚂蚁区块链上的账户。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7DCE6520-E5DB-4859-90AC-BDDB8A5501C6\\",\\n \\"Result\\": {\\n \\"Hash\\": \\"b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca\\",\\n \\"BlockHash\\": \\"1168bc5dd0b78d15446b15ea5a7f7822a7d07c007dd3a50becf98da220fc08f6\\",\\n \\"BlockVersion\\": \\"10\\",\\n \\"BlockHeight\\": 368169,\\n \\"CreateTime\\": 1563954336850,\\n \\"Transaction\\": {\\n \\"Hash\\": \\"b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca\\",\\n \\"Value\\": \\"0\\",\\n \\"From\\": \\"e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b\\",\\n \\"Data\\": \\"“”\\",\\n \\"Nonce\\": \\"5675407026657953619\\",\\n \\"To\\": \\"961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5\\",\\n \\"Timestamp\\": 1563954336850,\\n \\"Gas\\": \\"4000000\\",\\n \\"TxType\\": \\"UNFREEZE_ACCOUNT_CONTRACT\\",\\n \\"Period\\": 1563954336850,\\n \\"Extentions\\": [\\n \\"[]\\"\\n ],\\n \\"Signatures\\": [\\n \\"5s6JhauIqAlMb6d+7...\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainTransactionResponse>\\n <RequestId>7DCE6520-E5DB-4859-90AC-BDDB8A5501C6</RequestId>\\n <Result>\\n <Hash>b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca</Hash>\\n <BlockHash>1168bc5dd0b78d15446b15ea5a7f7822a7d07c007dd3a50becf98da220fc08f6</BlockHash>\\n <BlockVersion>10</BlockVersion>\\n <BlockHeight>368169</BlockHeight>\\n <CreateTime>1563954336850</CreateTime>\\n <Transaction>\\n <Hash>b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca</Hash>\\n <Value>0</Value>\\n <From>e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b</From>\\n <Data>“”</Data>\\n <Nonce>5675407026657953619</Nonce>\\n <To>961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5</To>\\n <Timestamp>1563954336850</Timestamp>\\n <Gas>4000000</Gas>\\n <TxType>UNFREEZE_ACCOUNT_CONTRACT</TxType>\\n <Period>1563954336850</Period>\\n <Extentions>[]</Extentions>\\n <Signatures>5s6JhauIqAlMb6d+7...</Signatures>\\n </Transaction>\\n </Result>\\n</DescribeAntChainTransactionResponse>","errorExample":""}]', + 'title' => '查询蚂蚁区块链交易信息', + 'summary' => '根据交易哈希查询一条蚂蚁区块链的交易信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CopyAntChainContractProject' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainTransaction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainTransactionReceipt' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ProjectId', - 'in' => 'formData', - 'schema' => [ - 'description' => '工程ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2L9VK68g', - ], - ], - [ - 'name' => 'ProjectName', - 'in' => 'formData', - 'schema' => [ - 'description' => '工程名', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'copyproject', - ], - ], - [ - 'name' => 'ProjectVersion', + 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '工程版本', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'v1.0.1', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v'], ], [ - 'name' => 'ProjectDescription', + 'name' => 'Hash', 'in' => 'formData', - 'schema' => [ - 'description' => '工程描述', - 'type' => 'string', - 'required' => false, - 'example' => 'copy project description', - ], + 'schema' => ['description' => '交易哈希', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca'], ], ], 'responses' => [ @@ -8195,108 +5107,80 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '45D67F6F-C723-4AD8-8462-F94EE5FF22E6', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9EC8FDC1-ED32-4EC0-AEC2-AFAA906ADBAB'], 'Result' => [ 'description' => '请求结果', 'type' => 'object', 'properties' => [ - 'UpdateTime' => [ - 'description' => '更新时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563953475248', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'DV80nJXq', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563953475248', - ], - 'ProjectId' => [ - 'description' => '工程ID', - 'type' => 'string', - 'example' => 'R6XMEdXe', - ], - 'ProjectName' => [ - 'description' => '工程名称', - 'type' => 'string', - 'example' => 'copyproject', - ], - 'ProjectVersion' => [ - 'description' => '工程版本', - 'type' => 'string', - 'example' => 'v1.0.1', - ], - 'ProjectDescription' => [ - 'description' => '工程描述', - 'type' => 'string', - 'example' => 'copy project description', + 'Data' => ['description' => 'Data:自定义结果数据', 'type' => 'string', 'example' => 'data'], + 'GasUsed' => ['description' => '消耗的Gas', 'type' => 'string', 'example' => '20000'], + 'Result' => ['description' => '结果,用户自定义错误码:'."\n" + .'- 0:表示交易执行成功'."\n" + .'- 非0:表示交易执行失败', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Logs' => [ + 'type' => 'array', + 'items' => ['description' => 'logs:合约事件', 'type' => 'string', 'example' => '[""]'], + 'description' => '', ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"45D67F6F-C723-4AD8-8462-F94EE5FF22E6\\",\\n \\"Result\\": {\\n \\"UpdateTime\\": 1563953475248,\\n \\"ConsortiumId\\": \\"DV80nJXq\\",\\n \\"CreateTime\\": 1563953475248,\\n \\"ProjectId\\": \\"R6XMEdXe\\",\\n \\"ProjectName\\": \\"copyproject\\",\\n \\"ProjectVersion\\": \\"v1.0.1\\",\\n \\"ProjectDescription\\": \\"copy project description\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '在联盟内复制一个已有的合约工程', - 'summary' => '在联盟内复制一个已有的合约工程。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9EC8FDC1-ED32-4EC0-AEC2-AFAA906ADBAB\\",\\n \\"Result\\": {\\n \\"Data\\": \\"data\\",\\n \\"GasUsed\\": \\"20000\\",\\n \\"Result\\": 0,\\n \\"Logs\\": [\\n \\"[\\\\\\"\\\\\\"]\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '查询蚂蚁区块链交易回执信息', + 'summary' => '根据交易哈希查询一条蚂蚁区块链的交易回执信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'BatchAddAntChainMiniAppQRCodeAuthorizedUsers' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainTransactionReceipt', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainTransactionReceiptV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '区块链ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'bDXK6boZ', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], ], [ - 'name' => 'PhoneList', + 'name' => 'Hash', 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '新增的授权用户列表,内容为支付宝账号对应的手机号', - 'type' => 'object', - 'required' => true, - 'docRequired' => true, - 'example' => '["1380013****", "1380013****"]', - ], + 'schema' => ['description' => '交易哈希', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], + ], + [ + 'name' => 'ConsortiumId', + 'in' => 'formData', + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX'], ], ], 'responses' => [ @@ -8304,691 +5188,626 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ 'description' => '请求结果', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', + 'type' => 'object', + 'properties' => [ + 'Data' => ['description' => 'Data', 'type' => 'string', 'example' => 'data'], + 'GasUsed' => ['description' => '消耗的Gas', 'type' => 'string', 'example' => '20000'], + 'Result' => ['description' => '结果', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Logs' => [ + 'type' => 'array', + 'items' => ['description' => 'logs', 'type' => 'string', 'example' => '[""]'], + 'description' => '', + ], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\"\\n}","errorExample":""},{"type":"xml","example":"<code>200</code>\\n<data>\\n <RequestId>0E3F15EC-BEE3-4416-AAE7-7BB1C5B68AAF</RequestId>\\n <Result>success</Result>\\n</data>\\n<requestId>0E3F15EC-BEE3-4416-AAE7-7BB1C5B68AAF</requestId>\\n<successResponse>true</successResponse>","errorExample":""}]', - 'title' => '批量新增蚂蚁区块链的交易二维码扫码权限', - 'summary' => '批量新增蚂蚁区块链的交易二维码扫码权限。', - ], - 'CreateFabricChaincodePackage' => [ - 'summary' => '创建2.0版本链码定义。', - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"Data\\": \\"data\\",\\n \\"GasUsed\\": \\"20000\\",\\n \\"Result\\": 0,\\n \\"Logs\\": [\\n \\"[\\\\\\"\\\\\\"]\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainTransactionReceiptV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <Data>data</Data>\\n <GasUsed>20000</GasUsed>\\n <Result>0</Result>\\n <Logs>[\\"\\"]</Logs>\\n </Result>\\n</DescribeAntChainTransactionReceiptV2Response>","errorExample":""}]', + 'title' => '查询蚂蚁区块链交易回执信息', + 'summary' => '根据交易哈希查询一条蚂蚁区块链的交易回执信息(仅适用于阿里云国内站)。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainTransactionReceiptV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainTransactionStatistics' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrganizationId', + 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v'], ], [ - 'name' => 'OssUrl', + 'name' => 'Start', 'in' => 'formData', - 'schema' => [ - 'description' => '链码包存放bucket内路径', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz', - ], + 'schema' => ['description' => '统计开始时间', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1563206400000'], ], [ - 'name' => 'Location', + 'name' => 'End', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '统计结束时间', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1563897600000'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '结果', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '信息', - 'type' => 'string', - 'example' => 'ok', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E93884AC-6C21-4FEA-8E3A-7377D33B194F'], 'Result' => [ - 'description' => '结果', - '$ref' => '#/components/schemas/ChaincodePackage', + 'description' => '请求结果', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Dt' => ['description' => '时间', 'type' => 'string', 'example' => '2019-07-16'], + 'CreatTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1563294007000'], + 'LastSumBlockHeight' => ['description' => '最后统计的区块高度', 'type' => 'integer', 'format' => 'int64', 'example' => '148018'], + 'TransCount' => ['description' => '交易总量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => 'pYogqb9v'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ChaincodeDuplicated', - 'errorMessage' => 'The chaincode [%s] of version [%s] already exists, please change the name or the version of the chaincode.', - ], - [ - 'errorCode' => 'ChaincodeInvalid', - 'errorMessage' => 'The format of the chaincode package is invalid.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E93884AC-6C21-4FEA-8E3A-7377D33B194F\\",\\n \\"Result\\": [\\n {\\n \\"Dt\\": \\"2019-07-16\\",\\n \\"CreatTime\\": 1563294007000,\\n \\"LastSumBlockHeight\\": 148018,\\n \\"TransCount\\": 0,\\n \\"AntChainId\\": \\"pYogqb9v\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '查询一条蚂蚁区块链的交易统计信息', + 'summary' => '查询一条蚂蚁区块链的交易统计信息。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-11T11:54:35.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainTransactionStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"ok\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"Label\\": \\"label\\",\\n \\"Checksum\\": \\"15bab12c29edbc095c33545b9867aec9be469c74a6dd5783df6ee74a24334c77\\",\\n \\"ChaincodePackageId\\": \\"cmcc-1.5:227c3cd472a8a2fcaa1c63f15812a1894348a985dc723006dd47d9f2848d10ed\\",\\n \\"Md5sum\\": \\"N02eVKuRJDA2ODtieMUxVw==\\",\\n \\"ProviderUid\\": \\"1313158505072210\\",\\n \\"ProviderBid\\": \\"26842\\",\\n \\"Type\\": 0,\\n \\"TypeName\\": \\"golang\\",\\n \\"UploadTime\\": \\"1533025590\\",\\n \\"InstallTime\\": \\"1533025590\\",\\n \\"State\\": \\"Running\\",\\n \\"OssURL\\": \\"hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz\\",\\n \\"DeleteTime\\": \\"1533025590\\",\\n \\"Deleted\\": false,\\n \\"Message\\": \\"ok\\"\\n }\\n}","type":"json"}]', - 'title' => '创建链码包定义', ], - 'SubmitFabricChaincodeDefinition' => [ - 'summary' => '提交2.0版本链码定义。', - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAntChainTransactionStatisticsV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrganizationId', - 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], - ], - [ - 'name' => 'ChaincodePackageId', - 'in' => 'formData', - 'schema' => [ - 'description' => '链码包ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860', - ], - ], - [ - 'name' => 'EndorsePolicy', - 'in' => 'formData', - 'schema' => [ - 'description' => '背书规则', - 'type' => 'string', - 'required' => true, - 'example' => 'OR ("perf9141MSP.member")', - ], - ], - [ - 'name' => 'Location', - 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'CollectionConfig', - 'in' => 'formData', - 'schema' => [ - 'description' => 'collection配置', - 'type' => 'string', - 'required' => false, - 'example' => 'collectionconfig', - ], - ], - [ - 'name' => 'Name', + 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '链码包名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'sacc', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], ], [ - 'name' => 'InitRequired', + 'name' => 'Start', 'in' => 'formData', - 'schema' => [ - 'description' => '是否需要初始化', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '统计开始时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1609084800000'], ], [ - 'name' => 'ChannelId', + 'name' => 'End', 'in' => 'formData', - 'schema' => [ - 'description' => '通道ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'chan-channelx-1l1hmckuuisxo', - ], + 'schema' => ['description' => '统计结束时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1609776000000'], ], [ - 'name' => 'ChaincodeVersion', + 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '链码版本', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1.0', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '结果', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '接口请求返回的信息', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ - 'description' => '结果', - '$ref' => '#/components/schemas/ChaincodeVO', + 'description' => '请求结果', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Dt' => ['description' => '时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1609171200000'], + 'CreatTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1609258222000'], + 'LastSumBlockHeight' => ['description' => '最后统计的区块高度', 'type' => 'integer', 'format' => 'int64', 'example' => '11511'], + 'TransCount' => ['description' => '交易总量', 'type' => 'integer', 'format' => 'int64', 'example' => '4'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'ResourceNotFound.Organization', - 'errorMessage' => 'The specified organization [%s] does not exist.', - ], - ], - 500 => [ - [ - 'errorCode' => 'GovernorException', - 'errorMessage' => 'An error in the backend management service has occurred. [%s]', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": [\\n {\\n \\"Dt\\": 1609171200000,\\n \\"CreatTime\\": 1609258222000,\\n \\"LastSumBlockHeight\\": 11511,\\n \\"TransCount\\": 4,\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainTransactionStatisticsV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <Dt>1609171200000</Dt>\\n <CreatTime>1609258222000</CreatTime>\\n <LastSumBlockHeight>11511</LastSumBlockHeight>\\n <TransCount>4</TransCount>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n </Result>\\n</DescribeAntChainTransactionStatisticsV2Response>","errorExample":""}]', + 'title' => '查询一条蚂蚁区块链的交易统计信息', + 'summary' => '查询一条蚂蚁区块链的交易统计信息(仅适用于阿里云国内站)。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:57.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainTransactionStatisticsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"OK\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Name\\": \\"sacc\\",\\n \\"Version\\": \\"1.1\\",\\n \\"Input\\": \\"args:\\\\\\"key\\\\\\" args:\\\\\\"val\\\\\\"\\",\\n \\"Type\\": 0,\\n \\"State\\": \\"Pending\\",\\n \\"Path\\": \\"chaincode/sacc\\",\\n \\"ChaincodeId\\": \\"code-sacc-jbkuldd3i7ad\\",\\n \\"Install\\": true,\\n \\"Message\\": \\"ok\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"DeployTime\\": \\"1533025590\\",\\n \\"ChannelName\\": \\"f100\\",\\n \\"EndorsePolicy\\": \\"OR (\\\\\\"perf9141MSP.member\\\\\\")\\",\\n \\"ConsortiumId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"ProviderId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"ProviderName\\": \\"perf9141\\",\\n \\"ChannelId\\": \\"chan-test-b0wx5suhgyb9p\\",\\n \\"Management\\": false,\\n \\"ChaincodePackageId\\": \\"sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860\\",\\n \\"InitRequired\\": false,\\n \\"ChaincodeDefinitionId\\": \\"a5f04baed775b016e8dc386783f40a2c8b13823cac22bc5fd11846cca4a13a9a\\"\\n }\\n}","type":"json"}]', - 'title' => '提交链码定义', ], - 'InstallFabricChaincodePackage' => [ - 'summary' => '安装Fabric2.0特性链码包。', - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAntChainTransactionV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrganizationId', + 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], ], [ - 'name' => 'ChaincodePackageId', + 'name' => 'Hash', 'in' => 'formData', - 'schema' => [ - 'description' => '链码包ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'chan-channelx-1l1hmckuuisxo', - ], + 'schema' => ['description' => '交易哈希', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '227072dcd1a5d78098da99ccc8024304b9fb54fc6b65e37ef919d7f2da080061'], ], [ - 'name' => 'Location', + 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '结果', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '信息', - 'type' => 'string', - 'example' => 'ok', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果消息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], 'Result' => [ - 'description' => '结果', - '$ref' => '#/components/schemas/ChaincodePackage', + 'description' => '请求结果', + 'type' => 'object', + 'properties' => [ + 'Hash' => ['description' => '交易哈希', 'type' => 'string', 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca'], + 'BlockHash' => ['description' => '区块哈希', 'type' => 'string', 'example' => '1168bc5dd0b78d15446b15ea5a7f7822a7d07c007dd3a50becf98da220fc08f6'], + 'BlockVersion' => ['description' => '区块版本', 'type' => 'string', 'example' => '10'], + 'BlockHeight' => ['description' => '区块高度', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'CreateTime' => ['description' => '交易创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1563954336850'], + 'Transaction' => [ + 'description' => '交易详情', + 'type' => 'object', + 'properties' => [ + 'Hash' => ['description' => '交易哈希', 'type' => 'string', 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca'], + 'Value' => ['description' => '交易金额', 'type' => 'string', 'example' => '0'], + 'From' => ['description' => '交易发送者哈希', 'type' => 'string', 'example' => 'e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b'], + 'Data' => ['description' => '数据', 'type' => 'string', 'example' => '""'], + 'Nonce' => ['description' => '交易Nonce', 'type' => 'string', 'example' => '5675407026657953619'], + 'To' => ['description' => '交易接收方地址', 'type' => 'string', 'example' => '961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5'], + 'Timestamp' => ['description' => '交易发送时戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1563954336850'], + 'Gas' => ['description' => 'Gas值', 'type' => 'string', 'example' => '4000000'], + 'TxType' => ['description' => '交易类型', 'type' => 'string', 'example' => 'UNFREEZE_ACCOUNT_CONTRACT'], + 'Period' => ['description' => 'Period', 'type' => 'integer', 'format' => 'int64', 'example' => '1563954336850'], + 'Extentions' => [ + 'type' => 'array', + 'items' => ['description' => ' '."\n" + .'扩展信息', 'type' => 'string', 'example' => '[]'], + 'description' => '', + ], + 'Signatures' => [ + 'type' => 'array', + 'items' => ['description' => '签名', 'type' => 'string', 'example' => '5s6JhauIqAlMb6d+7...'], + 'description' => '', + ], + ], + ], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"ok\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"Label\\": \\"label\\",\\n \\"Checksum\\": \\"15bab12c29edbc095c33545b9867aec9be469c74a6dd5783df6ee74a24334c77\\",\\n \\"ChaincodePackageId\\": \\"cmcc-1.5:227c3cd472a8a2fcaa1c63f15812a1894348a985dc723006dd47d9f2848d10ed\\",\\n \\"Md5sum\\": \\"N02eVKuRJDA2ODtieMUxVw==\\",\\n \\"ProviderUid\\": \\"1313158505072210\\",\\n \\"ProviderBid\\": \\"26842\\",\\n \\"Type\\": 0,\\n \\"TypeName\\": \\"golang\\",\\n \\"UploadTime\\": \\"1533025590\\",\\n \\"InstallTime\\": \\"1533025590\\",\\n \\"State\\": \\"Running\\",\\n \\"OssURL\\": \\"hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz\\",\\n \\"DeleteTime\\": \\"1533025590\\",\\n \\"Deleted\\": false,\\n \\"Message\\": \\"ok\\"\\n }\\n}","type":"json"}]', - 'title' => '安装2.0链码包', - ], - 'ApproveFabricChaincodeDefinition' => [ - 'summary' => '批准2.0版本链码定义。', - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"Hash\\": \\"b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca\\",\\n \\"BlockHash\\": \\"1168bc5dd0b78d15446b15ea5a7f7822a7d07c007dd3a50becf98da220fc08f6\\",\\n \\"BlockVersion\\": \\"10\\",\\n \\"BlockHeight\\": 100,\\n \\"CreateTime\\": 1563954336850,\\n \\"Transaction\\": {\\n \\"Hash\\": \\"b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca\\",\\n \\"Value\\": \\"0\\",\\n \\"From\\": \\"e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b\\",\\n \\"Data\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Nonce\\": \\"5675407026657953619\\",\\n \\"To\\": \\"961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5\\",\\n \\"Timestamp\\": 1563954336850,\\n \\"Gas\\": \\"4000000\\",\\n \\"TxType\\": \\"UNFREEZE_ACCOUNT_CONTRACT\\",\\n \\"Period\\": 1563954336850,\\n \\"Extentions\\": [\\n \\"[]\\"\\n ],\\n \\"Signatures\\": [\\n \\"5s6JhauIqAlMb6d+7...\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainTransactionV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <Hash>b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca</Hash>\\n <BlockHash>1168bc5dd0b78d15446b15ea5a7f7822a7d07c007dd3a50becf98da220fc08f6</BlockHash>\\n <BlockVersion>10</BlockVersion>\\n <BlockHeight>100</BlockHeight>\\n <CreateTime>1563954336850</CreateTime>\\n <Transaction>\\n <Hash>b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca</Hash>\\n <Value>0</Value>\\n <From>e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b</From>\\n <Data>\\"\\"</Data>\\n <Nonce>5675407026657953619</Nonce>\\n <To>961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5</To>\\n <Timestamp>1563954336850</Timestamp>\\n <Gas>4000000</Gas>\\n <TxType>UNFREEZE_ACCOUNT_CONTRACT</TxType>\\n <Period>1563954336850</Period>\\n <Extentions>[]</Extentions>\\n <Signatures>5s6JhauIqAlMb6d+7...</Signatures>\\n </Transaction>\\n </Result>\\n</DescribeAntChainTransactionV2Response>","errorExample":""}]', + 'title' => '查询蚂蚁区块链交易信息', + 'summary' => '根据交易哈希查询一条蚂蚁区块链的交易信息(仅适用于阿里云国内站)。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainTransactionV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeAntChains' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrganizationId', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], + 'schema' => ['description' => '页面条例数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '20'], ], [ - 'name' => 'Location', + 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '当前页面编号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'], ], [ - 'name' => 'ChaincodeId', + 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '链码ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'code-sacc-jbkuldd3i7ad', - ], - ], - [ - 'name' => 'ChaincodePackageId', - 'in' => 'formData', - 'schema' => [ - 'description' => '链码包ID', - 'type' => 'string', - 'required' => false, - 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AroN3X2l'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '结果', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '接口请求返回的信息。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '52EC3196-D0B8-4FBE-A8B6-6DDABABE11C9'], 'Result' => [ - 'description' => '结果', - '$ref' => '#/components/schemas/ChaincodeVO', + 'description' => '请求结果', + 'type' => 'object', + 'properties' => [ + 'IsExist' => ['description' => '是否存在', 'type' => 'boolean', 'example' => 'false'], + 'AntChains' => [ + 'description' => '蚂蚁区块链属性描述', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ExpireTime' => ['description' => '到期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1626019200000'], + 'CreateTime' => ['description' => '创建时戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1562847396000'], + 'ChainType' => ['description' => '区块链类型,Contract :合约链,无其他类型', 'type' => 'string', 'example' => 'Contract'], + 'MemberStatus' => ['description' => '是否已经申请链上访问证书', 'type' => 'string', 'example' => 'ChainApplied'], + 'MerkleTreeSuit' => ['description' => 'Merkle树类型,fdmt:蚂蚁链Merkle数,无其他类型', 'type' => 'string', 'example' => 'fdmt'], + 'IsAdmin' => ['description' => '当前用户是否是管理员', 'type' => 'boolean', 'example' => 'true'], + 'AntChainName' => ['description' => '区块链名称', 'type' => 'string', 'example' => '一个测试的区块链'], + 'RegionId' => ['description' => '创建地域信息', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'Network' => ['description' => '运行状态:'."\n" + .'- Running:运行中'."\n" + .'- Stop:停止', 'type' => 'string', 'example' => 'Running'], + 'TlsAlgo' => ['description' => 'TLS加密算法,rsa:ras算法,无其他算法类型', 'type' => 'string', 'example' => 'rsa'], + 'Version' => ['description' => '详细的链版本', 'type' => 'string', 'example' => '2.19.1'], + 'CipherSuit' => ['description' => '加密套件类型,classic : 标准加密,无其他类型', 'type' => 'string', 'example' => 'classic'], + 'ResourceSize' => ['description' => '资源类型:'."\n" + .'- Basic:基础版'."\n" + .'- Enterprise:企业版', 'type' => 'string', 'example' => 'Basic'], + 'NodeNum' => ['description' => '节点数量', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'AntChainId' => ['description' => '蚂蚁区块链ID'."\n", 'type' => 'string', 'example' => 'pYogqb9v'], + ], + 'description' => '', + ], + ], + 'Pagination' => [ + 'description' => '分页情况', + 'type' => 'object', + 'properties' => [ + 'PageSize' => ['description' => '每页显示条例数', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'PageNumber' => ['description' => '当前页面编号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"OK\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Name\\": \\"sacc\\",\\n \\"Version\\": \\"1.1\\",\\n \\"Input\\": \\"args:\\\\\\"key\\\\\\" args:\\\\\\"val\\\\\\"\\",\\n \\"Type\\": 0,\\n \\"State\\": \\"Pending\\",\\n \\"Path\\": \\"chaincode/sacc\\",\\n \\"ChaincodeId\\": \\"code-sacc-jbkuldd3i7ad\\",\\n \\"Install\\": true,\\n \\"Message\\": \\"ok\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"DeployTime\\": \\"1533025590\\",\\n \\"ChannelName\\": \\"f100\\",\\n \\"EndorsePolicy\\": \\"OR (\\\\\\"perf9141MSP.member\\\\\\")\\",\\n \\"ConsortiumId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"ProviderId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"ProviderName\\": \\"perf9141\\",\\n \\"ChannelId\\": \\"chan-test-b0wx5suhgyb9p\\",\\n \\"Management\\": false,\\n \\"ChaincodePackageId\\": \\"sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860\\",\\n \\"InitRequired\\": false,\\n \\"ChaincodeDefinitionId\\": \\"a5f04baed775b016e8dc386783f40a2c8b13823cac22bc5fd11846cca4a13a9a\\"\\n }\\n}","type":"json"}]', - 'title' => '批准链码定义', - ], - 'UpgradeFabricChaincodeDefinition' => [ - 'summary' => '升级2.0版本链码包定义。', - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"52EC3196-D0B8-4FBE-A8B6-6DDABABE11C9\\",\\n \\"Result\\": {\\n \\"IsExist\\": false,\\n \\"AntChains\\": [\\n {\\n \\"ExpireTime\\": 1626019200000,\\n \\"CreateTime\\": 1562847396000,\\n \\"ChainType\\": \\"Contract\\",\\n \\"MemberStatus\\": \\"ChainApplied\\",\\n \\"MerkleTreeSuit\\": \\"fdmt\\",\\n \\"IsAdmin\\": true,\\n \\"AntChainName\\": \\"一个测试的区块链\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Network\\": \\"Running\\",\\n \\"TlsAlgo\\": \\"rsa\\",\\n \\"Version\\": \\"2.19.1\\",\\n \\"CipherSuit\\": \\"classic\\",\\n \\"ResourceSize\\": \\"Basic\\",\\n \\"NodeNum\\": 4,\\n \\"AntChainId\\": \\"pYogqb9v\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'DescribeAntChains', + 'summary' => '获取联盟内的蚂蚁区块链列表。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAntChainsV2' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrganizationId', - 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], - ], - [ - 'name' => 'ChaincodePackageId', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '链码包ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860', - ], + 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '10'], ], [ - 'name' => 'EndorsePolicy', + 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'description' => '背书规则', - 'type' => 'string', - 'required' => true, - 'example' => 'OR ("perf9141MSP.member")', - ], + 'schema' => ['description' => '分页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '1'], ], [ - 'name' => 'Location', + 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'M8GaMEyX'], ], - [ - 'name' => 'CollectionConfig', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'collection配置信息', - 'type' => 'string', - 'required' => false, - 'example' => 'collectionconfig', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'DBD6C69E-22B9-419E-B072-7A715F3AA330'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ResultMessage' => ['description' => '结果信息', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '请求消息', 'type' => 'string', 'example' => 'OK'], + 'ResultCode' => ['description' => '结果码', 'type' => 'string', 'example' => 'OK'], + 'Result' => [ + 'description' => '请求结果', + 'type' => 'object', + 'properties' => [ + 'IsExist' => ['description' => '是否存在', 'type' => 'boolean', 'example' => 'true'], + 'AntChains' => [ + 'description' => '区块链信息', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ExpireTime' => ['description' => '过期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1672329600000'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1609221924000'], + 'RestStatus' => ['description' => 'Rest状态', 'type' => 'string', 'example' => 'CREATE'], + 'ChainType' => ['description' => '区块链的类型', 'type' => 'string', 'example' => 'Contract'], + 'IsAdmin' => ['description' => '是否为管理员', 'type' => 'boolean', 'example' => 'false'], + 'MerkleTreeSuit' => ['description' => 'Merkle树类型', 'type' => 'string', 'example' => 'fdmt'], + 'MemberStatus' => ['description' => '成员状态', 'type' => 'string', 'example' => 'ChainApplied'], + 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'ALIYUN202012291405173265824745109'], + 'RegionId' => ['description' => '区域信息', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'AntChainName' => ['description' => '区块链名称', 'type' => 'string', 'example' => '专业链'], + 'Network' => ['description' => '网络信息', 'type' => 'string', 'example' => 'Running'], + 'MonitorStatus' => ['description' => '监控状态', 'type' => 'boolean', 'example' => 'true'], + 'TlsAlgo' => ['description' => 'TLS加密算法', 'type' => 'string', 'example' => 'rsa'], + 'Version' => ['description' => '详细版本', 'type' => 'string', 'example' => '2.19.1'], + 'CipherSuit' => ['description' => '加密套件类型', 'type' => 'string', 'example' => 'classic'], + 'ResourceSize' => ['description' => '资源类型', 'type' => 'string', 'example' => 'Basic'], + 'NodeNum' => ['description' => '节点数量', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'AntChainId' => ['description' => '区块链ID', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163'], + ], + 'description' => '', + ], + ], + 'Pagination' => [ + 'description' => '分页信息', + 'type' => 'object', + 'properties' => [ + 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '分页号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + ], + ], + ], + ], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"DBD6C69E-22B9-419E-B072-7A715F3AA330\\",\\n \\"Success\\": true,\\n \\"ResultMessage\\": \\"OK\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"ResultCode\\": \\"OK\\",\\n \\"Result\\": {\\n \\"IsExist\\": true,\\n \\"AntChains\\": [\\n {\\n \\"ExpireTime\\": 1672329600000,\\n \\"CreateTime\\": 1609221924000,\\n \\"RestStatus\\": \\"CREATE\\",\\n \\"ChainType\\": \\"Contract\\",\\n \\"IsAdmin\\": false,\\n \\"MerkleTreeSuit\\": \\"fdmt\\",\\n \\"MemberStatus\\": \\"ChainApplied\\",\\n \\"InstanceId\\": \\"ALIYUN202012291405173265824745109\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"AntChainName\\": \\"专业链\\",\\n \\"Network\\": \\"Running\\",\\n \\"MonitorStatus\\": true,\\n \\"TlsAlgo\\": \\"rsa\\",\\n \\"Version\\": \\"2.19.1\\",\\n \\"CipherSuit\\": \\"classic\\",\\n \\"ResourceSize\\": \\"Basic\\",\\n \\"NodeNum\\": 4,\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 2\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainsV2Response>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>DBD6C69E-22B9-419E-B072-7A715F3AA330</RequestId>\\n <Success>true</Success>\\n <ResultMessage>OK</ResultMessage>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <ResultCode>OK</ResultCode>\\n <Result>\\n <IsExist>true</IsExist>\\n <AntChains>\\n <ExpireTime>1672329600000</ExpireTime>\\n <CreateTime>1609221924000</CreateTime>\\n <RestStatus>CREATE</RestStatus>\\n <ChainType>Contract</ChainType>\\n <IsAdmin>false</IsAdmin>\\n <MerkleTreeSuit>fdmt</MerkleTreeSuit>\\n <MemberStatus>ChainApplied</MemberStatus>\\n <InstanceId>ALIYUN202012291405173265824745109</InstanceId>\\n <RegionId>cn-hangzhou</RegionId>\\n <AntChainName>专业链</AntChainName>\\n <Network>Running</Network>\\n <MonitorStatus>true</MonitorStatus>\\n <TlsAlgo>rsa</TlsAlgo>\\n <Version>2.19.1</Version>\\n <CipherSuit>classic</CipherSuit>\\n <ResourceSize>Basic</ResourceSize>\\n <NodeNum>4</NodeNum>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n </AntChains>\\n <Pagination>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>2</TotalCount>\\n </Pagination>\\n </Result>\\n</DescribeAntChainsV2Response>","errorExample":""}]', + 'title' => '获取联盟内的蚂蚁区块链列表', + 'summary' => '获取联盟内的蚂蚁区块链列表(仅适用于阿里云国内站)。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [ [ - 'name' => 'ChaincodeId', - 'in' => 'formData', - 'schema' => [ - 'description' => '链码ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'code-sacc-jbkuldd3i7ad', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeEthereumDeletable' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'InitRequired', - 'in' => 'formData', - 'schema' => [ - 'description' => '是否需要初始化', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'ChaincodeVersion', + 'name' => 'EthereumId', 'in' => 'formData', - 'schema' => [ - 'description' => '链码版本', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1.1', - ], + 'schema' => ['description' => '以太坊ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eth-1ilrhcav4ibdl'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '结果', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '消息', - 'type' => 'string', - 'example' => 'ok', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1E55C947-19B4-4AAD-9D22-0B8DA8904B3D', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], + 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '结果', - 'example' => '链码信息', - '$ref' => '#/components/schemas/ChaincodeVO', + 'description' => '请求结果', + 'type' => 'object', + 'properties' => [ + 'EthereumId' => ['description' => '以太坊ID', 'type' => 'string', 'example' => 'eth-1ilrhcav4ibdl'], + 'Deletable' => ['description' => '是否可删除', 'type' => 'boolean', 'example' => 'true'], + ], ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ChaincodeDuplicated', - 'errorMessage' => 'The chaincode [%s] of version [%s] already exists, please change the name or the version of the chaincode.', - ], - [ - 'errorCode' => 'Chaincode.Error', - 'errorMessage' => 'The specified chaincode [%s] is invalid.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound.Organization', - 'errorMessage' => 'The specified organization [%s] does not exist.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"EthereumId\\": \\"eth-1ilrhcav4ibdl\\",\\n \\"Deletable\\": true\\n }\\n}","type":"json"}]', + 'title' => '获取以太坊是否可删除', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeEthereumDeletable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"ok\\",\\n \\"RequestId\\": \\"1E55C947-19B4-4AAD-9D22-0B8DA8904B3D\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Name\\": \\"sacc\\",\\n \\"Version\\": \\"1.1\\",\\n \\"Input\\": \\"args:\\\\\\"key\\\\\\" args:\\\\\\"val\\\\\\"\\",\\n \\"Type\\": 0,\\n \\"State\\": \\"Pending\\",\\n \\"Path\\": \\"chaincode/sacc\\",\\n \\"ChaincodeId\\": \\"code-sacc-jbkuldd3i7ad\\",\\n \\"Install\\": true,\\n \\"Message\\": \\"ok\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"DeployTime\\": \\"1533025590\\",\\n \\"ChannelName\\": \\"f100\\",\\n \\"EndorsePolicy\\": \\"OR (\\\\\\"perf9141MSP.member\\\\\\")\\",\\n \\"ConsortiumId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"ProviderId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"ProviderName\\": \\"perf9141\\",\\n \\"ChannelId\\": \\"chan-test-b0wx5suhgyb9p\\",\\n \\"Management\\": false,\\n \\"ChaincodePackageId\\": \\"sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860\\",\\n \\"InitRequired\\": false,\\n \\"ChaincodeDefinitionId\\": \\"a5f04baed775b016e8dc386783f40a2c8b13823cac22bc5fd11846cca4a13a9a\\"\\n }\\n}","type":"json"}]', - 'title' => '升级链码包定义', ], - 'DescribeFabricOrganizationChaincodePackage' => [ - 'summary' => '获取组织内2.0链码包信息。', - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeFabricCandidateOrganizations' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrganizationId', + 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -8996,53 +5815,55 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '信息', - 'type' => 'string', - 'example' => 'ok', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ 'description' => '结果', 'type' => 'array', 'items' => [ - 'description' => '链码包信息', - '$ref' => '#/components/schemas/ChaincodePackage', + 'type' => 'object', + 'properties' => [ + 'ServiceState' => ['description' => '服务状态', 'type' => 'string', 'example' => 'Running'], + 'OrganizationName' => ['description' => '组织名', 'type' => 'string', 'example' => 'org1'], + 'ClusterState' => ['description' => '集群状态', 'type' => 'string', 'example' => 'Running'], + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'example' => 'peers-1oxw31d04****'], + ], + 'description' => '', ], ], ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"ServiceState\\": \\"Running\\",\\n \\"OrganizationName\\": \\"org1\\",\\n \\"ClusterState\\": \\"Running\\",\\n \\"OrganizationId\\": \\"peers-1oxw31d04****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricCandidateOrganizationsResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <ServiceState>Running</ServiceState>\\n <OrganizationName>org1</OrganizationName>\\n <ClusterState>Running</ClusterState>\\n <OrganizationId>peers-1oxw31d04****</OrganizationId>\\n </Result>\\n</DescribeFabricCandidateOrganizationsResponse>","errorExample":""}]', + 'title' => '查询接收邀请的候选组织', + 'summary' => '调用DescribeFabricCandidateOrganizations查询接收邀请的候选组织。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricCandidateOrganizations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"ok\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"Label\\": \\"label\\",\\n \\"Checksum\\": \\"15bab12c29edbc095c33545b9867aec9be469c74a6dd5783df6ee74a24334c77\\",\\n \\"ChaincodePackageId\\": \\"cmcc-1.5:227c3cd472a8a2fcaa1c63f15812a1894348a985dc723006dd47d9f2848d10ed\\",\\n \\"Md5sum\\": \\"N02eVKuRJDA2ODtieMUxVw==\\",\\n \\"ProviderUid\\": \\"1313158505072210\\",\\n \\"ProviderBid\\": \\"26842\\",\\n \\"Type\\": 0,\\n \\"TypeName\\": \\"golang\\",\\n \\"UploadTime\\": \\"1533025590\\",\\n \\"InstallTime\\": \\"1533025590\\",\\n \\"State\\": \\"Running\\",\\n \\"OssURL\\": \\"hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz\\",\\n \\"DeleteTime\\": \\"1533025590\\",\\n \\"Deleted\\": false,\\n \\"Message\\": \\"ok\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationChaincodePackageResponse>\\n <Message>ok</Message>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w9dt3</OrganizationId>\\n <Label>label</Label>\\n <Checksum>15bab12c29edbc095c33545b9867aec9be469c74a6dd5783df6ee74a24334c77</Checksum>\\n <ChaincodePackageId>cmcc-1.5:227c3cd472a8a2fcaa1c63f15812a1894348a985dc723006dd47d9f2848d10ed</ChaincodePackageId>\\n <Md5sum>N02eVKuRJDA2ODtieMUxVw==</Md5sum>\\n <ProviderUid>1313158505072210</ProviderUid>\\n <ProviderBid>26842</ProviderBid>\\n <Type>0</Type>\\n <TypeName>golang</TypeName>\\n <UploadTime>1533025590</UploadTime>\\n <InstallTime>1533025590</InstallTime>\\n <State>Running</State>\\n <OssURL>hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz</OssURL>\\n <DeleteTime>1533025590</DeleteTime>\\n <Deleted>false</Deleted>\\n <Message>ok</Message>\\n </Result>\\n</DescribeFabricOrganizationChaincodePackageResponse>","errorExample":""}]', - 'title' => '获取组织内链码包信息', ], 'DescribeFabricChaincodeDefinitionTask' => [ 'summary' => '获取2.0链码任务列表。', - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9050,31 +5871,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrganizationId', 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], ], [ 'name' => 'ChaincodeId', 'in' => 'formData', - 'schema' => [ - 'description' => '链码ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'code-sacc-jbkuldd3i7ad', - ], + 'schema' => ['description' => '链码ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'code-sacc-jbkuldd3i7ad'], ], ], 'responses' => [ @@ -9083,70 +5890,24 @@ 'description' => '结果', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ 'description' => '结果', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '任务状态', - 'type' => 'string', - 'example' => 'Pending', - ], - 'Type' => [ - 'description' => '任务类型', - 'type' => 'string', - 'example' => 'ChaincodeDefinition', - ], - 'ChannelName' => [ - 'description' => '通道名称', - 'type' => 'string', - 'example' => 'f100', - ], - 'Description' => [ - 'description' => '任务描述', - 'type' => 'string', - 'example' => 'description', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1533025590', - ], - 'TaskId' => [ - 'description' => '任务ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Creator' => [ - 'description' => '任务创建者', - 'type' => 'string', - 'example' => 'perf9141MSP', - ], + 'Status' => ['description' => '任务状态', 'type' => 'string', 'example' => 'Pending'], + 'Type' => ['description' => '任务类型', 'type' => 'string', 'example' => 'ChaincodeDefinition'], + 'ChannelName' => ['description' => '通道名称', 'type' => 'string', 'example' => 'f100'], + 'Description' => ['description' => '任务描述', 'type' => 'string', 'example' => 'description'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1533025590'], + 'TaskId' => ['description' => '任务ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Creator' => ['description' => '任务创建者', 'type' => 'string', 'example' => 'perf9141MSP'], 'Approvers' => [ 'description' => '任务审批信息列表', 'type' => 'array', - 'items' => [ - 'description' => '审批者', - 'type' => 'string', - 'example' => 'perf9141MSP', - ], + 'items' => ['description' => '审批者', 'type' => 'string', 'example' => 'perf9141MSP'], ], 'Content' => [ 'description' => '任务内容', @@ -9156,47 +5917,14 @@ 'description' => '链码定义', 'type' => 'object', 'properties' => [ - 'EndorsementPolicy' => [ - 'description' => '背书规则', - 'type' => 'string', - 'example' => 'OR ("perf9141MSP.member")', - ], - 'Sequence' => [ - 'description' => '同一链码任务顺序ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Version' => [ - 'description' => '链码版本', - 'type' => 'string', - 'example' => '1.1', - ], - 'ChaincodePackageId' => [ - 'description' => '链码包ID', - 'type' => 'string', - 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860', - ], - 'Name' => [ - 'description' => '链码名称', - 'type' => 'string', - 'example' => 'sacc', - ], - 'InitRequired' => [ - 'description' => '是否需要初始化', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CollectionConfig' => [ - 'description' => '链码collection配置', - 'type' => 'string', - 'example' => 'collectionconfig', - ], - 'Uid' => [ - 'description' => '链码唯一标识', - 'type' => 'string', - 'example' => '698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860', - ], + 'EndorsementPolicy' => ['description' => '背书规则', 'type' => 'string', 'example' => 'OR ("perf9141MSP.member")'], + 'Sequence' => ['description' => '同一链码任务顺序ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'Version' => ['description' => '链码版本', 'type' => 'string', 'example' => '1.1'], + 'ChaincodePackageId' => ['description' => '链码包ID', 'type' => 'string', 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860'], + 'Name' => ['description' => '链码名称', 'type' => 'string', 'example' => 'sacc'], + 'InitRequired' => ['description' => '是否需要初始化', 'type' => 'boolean', 'example' => 'true'], + 'CollectionConfig' => ['description' => '链码collection配置', 'type' => 'string', 'example' => 'collectionconfig'], + 'Uid' => ['description' => '链码唯一标识', 'type' => 'string', 'example' => '698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860'], ], ], ], @@ -9209,103 +5937,39 @@ ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Status\\": \\"Pending\\",\\n \\"Type\\": \\"ChaincodeDefinition\\",\\n \\"ChannelName\\": \\"f100\\",\\n \\"Description\\": \\"description\\",\\n \\"CreateTime\\": 1533025590,\\n \\"TaskId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Creator\\": \\"perf9141MSP\\",\\n \\"Approvers\\": [\\n \\"perf9141MSP\\"\\n ],\\n \\"Content\\": {\\n \\"ChaincodeDefinition\\": {\\n \\"EndorsementPolicy\\": \\"OR (\\\\\\"perf9141MSP.member\\\\\\")\\",\\n \\"Sequence\\": 1,\\n \\"Version\\": \\"1.1\\",\\n \\"ChaincodePackageId\\": \\"sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860\\",\\n \\"Name\\": \\"sacc\\",\\n \\"InitRequired\\": true,\\n \\"CollectionConfig\\": \\"collectionconfig\\",\\n \\"Uid\\": \\"698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860\\"\\n }\\n }\\n }\\n}","type":"json"}]', 'title' => '获取链码任务列表', - ], - 'CreateFabricChaincode' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2022-02-28T10:34:55.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeChaincodeDefinitionTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeFabricChaincodeUploadPolicy' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrganizationId', 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa1-1oxw31d046jtl', - ], - ], - [ - 'name' => 'ChannelId', - 'in' => 'formData', - 'schema' => [ - 'description' => '通道ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'chan-first-channel-1w55v3u39x2xz', - ], - ], - [ - 'name' => 'ConsortiumId', - 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'consortium-aaaaaa-akpcsjjac2jd', - ], - ], - [ - 'name' => 'OssBucket', - 'in' => 'formData', - 'schema' => [ - 'description' => 'OSS桶地址', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'https://chaincode.oss-cn-beijing.aliyuncs.com', - ], - ], - [ - 'name' => 'OssUrl', - 'in' => 'formData', - 'schema' => [ - 'description' => 'OSS对象地址', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'aaaaaa1/a0cf8729-7d47-44c9-9ed5-6d2fdfc8dc2c/sacc.cc', - ], - ], - [ - 'name' => 'EndorsePolicy', - 'in' => 'formData', - 'schema' => [ - 'description' => '背书策略:'."\n" - .'- OR (\'aaaaaa1MSP.peer\',\'aaaaaa2MSP.peer\',...)表示此通道中的任何一方背书即可。'."\n" - .'- AND (\'aaaaaa1MSP.peer\',\'aaaaaa2MSP.peer\',...)表示需要此通道中的所有组织背书。 '."\n" - .'- OutOf (a,\'aaaaaa1MSP.peer\',\'aaaaaa2MSP.peer\',...):当a为1时表示此通道中的任何一方背书即可;当a为2时表示至少需要两个通道中的组织背书才行;当a等于组织数时,背书情况等同于AND。', - 'type' => 'string', - 'required' => false, - 'example' => 'OR (\'aaaaaa1MSP.peer\')', - ], - ], - [ - 'name' => 'Location', - 'in' => 'formData', - 'schema' => [ - 'description' => '位置信息', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa1-1oxw31d04****'], ], ], 'responses' => [ @@ -9313,188 +5977,63 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'CD264CC8-B892-4CDC-BD31-7D179EE6E396', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '创建结果', + 'description' => '结果', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => '类型:'."\n" - .'- 0:未定义'."\n" - .'- 1:Go'."\n" - .'- 2:Node'."\n" - .'- 4:Java', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EndorsePolicy' => [ - 'description' => '背书策略', - 'type' => 'string', - 'example' => 'OR (\'aaaaaa1MSP.peer\')', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Instantiatable', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1544766801000', - ], - 'ChaincodeId' => [ - 'description' => '链码ID', - 'type' => 'string', - 'example' => 'code-sacc-1pr09q7jmo0np', - ], - 'ProviderName' => [ - 'description' => '上传者名字', - 'type' => 'string', - 'example' => 'peers-aaaaaa1-1oxw31d046jtl', - ], - 'Message' => [ - 'description' => '消息', - 'type' => 'string', - 'example' => 'string', - ], - 'ChaincodeName' => [ - 'description' => '链码名', - 'type' => 'string', - 'example' => 'mychaincode', - ], - 'Input' => [ - 'description' => '输入', - 'type' => 'string', - 'example' => 'string', - ], - 'Install' => [ - 'description' => '是否安装', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ProviderId' => [ - 'description' => '上传ID', - 'type' => 'string', - 'example' => 'peers-aaaaaa1-1oxw31d046jtl', - ], - 'DeployTime' => [ - 'description' => '部署时间', - 'type' => 'string', - 'example' => '1544766801000', - ], - 'ChaincodeVersion' => [ - 'description' => '链码版本', - 'type' => 'string', - 'example' => '1.0', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-aaaaaa-akpcsjjac2jd', - ], - 'ChannelName' => [ - 'description' => '通道名', - 'type' => 'string', - 'example' => 'first-channel', - ], - 'Path' => [ - 'description' => '路径', - 'type' => 'string', - 'example' => 'go-sdk-demo/chaincode/src', - ], + 'Signature' => ['description' => 'OSS签名', 'type' => 'string', 'example' => 'signature'], + 'Host' => ['description' => 'OSS域名', 'type' => 'string', 'example' => 'https://chaincode.oss-cn-beijing.aliyuncs.com'], + 'Policy' => ['description' => 'OSS安全策略', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMjAxOC0wNy0zMVQwODoyNjozMC40NzdaIiwiY29uZGl'], + 'Dir' => ['description' => '上传目录', 'type' => 'string', 'example' => 'test3/4bd1de21-2fff-4405-a8e9-f864c4bee24f'], + 'AccessId' => ['description' => '访问OSS的ID', 'type' => 'string', 'example' => 'accessId'], + 'Expire' => ['description' => '过期时间', 'type' => 'integer', 'format' => 'int32', 'example' => '1533025590'], ], ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ChaincodeDuplicated', - 'errorMessage' => 'The chaincode [%s] of version [%s] already exists, please change the name or the version of the chaincode.', - ], - [ - 'errorCode' => 'ChaincodeInvalid', - 'errorMessage' => 'The format of the chaincode package is invalid.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CD264CC8-B892-4CDC-BD31-7D179EE6E396\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Type\\": 1,\\n \\"EndorsePolicy\\": \\"OR (\'aaaaaa1MSP.peer\')\\",\\n \\"State\\": \\"Instantiatable\\",\\n \\"CreateTime\\": \\"1544766801000\\",\\n \\"ChaincodeId\\": \\"code-sacc-1pr09q7jmo0np\\",\\n \\"ProviderName\\": \\"peers-aaaaaa1-1oxw31d046jtl\\",\\n \\"Message\\": \\"string\\",\\n \\"ChaincodeName\\": \\"mychaincode\\",\\n \\"Input\\": \\"string\\",\\n \\"Install\\": true,\\n \\"ProviderId\\": \\"peers-aaaaaa1-1oxw31d046jtl\\",\\n \\"DeployTime\\": \\"1544766801000\\",\\n \\"ChaincodeVersion\\": \\"1.0\\",\\n \\"ConsortiumId\\": \\"consortium-aaaaaa-akpcsjjac2jd\\",\\n \\"ChannelName\\": \\"first-channel\\",\\n \\"Path\\": \\"go-sdk-demo/chaincode/src\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateFabricChaincodeResponse>\\n <RequestId>CD264CC8-B892-4CDC-BD31-7D179EE6E396</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Type>1</Type>\\n <EndorsePolicy>OR (\'aaaaaa1MSP.peer\')</EndorsePolicy>\\n <State>Instantiatable</State>\\n <CreateTime>1544766801000</CreateTime>\\n <ChaincodeId>code-sacc-1pr09q7jmo0np</ChaincodeId>\\n <ProviderName>peers-aaaaaa1-1oxw31d046jtl</ProviderName>\\n <Message>string</Message>\\n <ChaincodeName>mychaincode</ChaincodeName>\\n <Input>string</Input>\\n <Install>true</Install>\\n <ProviderId>peers-aaaaaa1-1oxw31d046jtl</ProviderId>\\n <DeployTime>1544766801000</DeployTime>\\n <ChaincodeVersion>1.0</ChaincodeVersion>\\n <ConsortiumId>consortium-aaaaaa-akpcsjjac2jd</ConsortiumId>\\n <ChannelName>first-channel</ChannelName>\\n <Path>go-sdk-demo/chaincode/src</Path>\\n </Result>\\n</CreateFabricChaincodeResponse>","errorExample":""}]', - 'title' => '创建链码', - 'summary' => '调用CreateFabricChaincode创建链码。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Signature\\": \\"signature\\",\\n \\"Host\\": \\"https://chaincode.oss-cn-beijing.aliyuncs.com\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAxOC0wNy0zMVQwODoyNjozMC40NzdaIiwiY29uZGl\\",\\n \\"Dir\\": \\"test3/4bd1de21-2fff-4405-a8e9-f864c4bee24f\\",\\n \\"AccessId\\": \\"accessId\\",\\n \\"Expire\\": 1533025590\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricChaincodeUploadPolicyResponse>\\r\\n\\t<Result>\\r\\n\\t\\t<Dir>t/4bd1de21-2fff-4</Dir>\\r\\n\\t\\t<Host>https://oss.aliyuncs.com</Host>\\r\\n\\t\\t<Policy>eyJleHBpcmF0aW9uIjoiMjAxOC0wNy0zMVQwODoyNjozMC40NzdaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJ0ZXN0My80YmQxZGUyMS0yZmZmLTQ0MDUtYThlOS1mODY0YzRiZWUyNGYiXV19</Policy>\\r\\n\\t\\t<Expire>1533025590</Expire>\\r\\n\\t\\t<AccessId>accessId</AccessId>\\r\\n\\t\\t<Signature>klI/signature=</Signature>\\r\\n\\t</Result>\\r\\n\\t<RequestId>540BFE13-BDE5-40B9-BCDD-F2E24B6D064F</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</DescribeFabricChaincodeUploadPolicyResponse>","errorExample":""}]', + 'title' => '获取上传链码策略', + 'summary' => '调用DescribeFabricChaincodeUploadPolicy获取上传链码策略。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateFabricChannelMember' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricChaincodeUploadPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeFabricChannelMembers' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ChannelId', 'in' => 'query', - 'schema' => [ - 'description' => '通道ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'chan-channelx-1l1hmckuuisxo', - ], - ], - [ - 'name' => 'Organization', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '组织列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'example' => 'peers-aaaaaa1-1oxw31d046jtl', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 1000, - ], + 'schema' => ['description' => '通道ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chan-channelx-1l1hmckuu****'], ], ], 'responses' => [ @@ -9502,103 +6041,73 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '结果', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', + 'description' => '通道的成员列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'WithPeer' => ['description' => '是否包含节点', 'type' => 'boolean', 'example' => 'true'], + 'AcceptTime' => ['description' => '接受时间', 'type' => 'string', 'example' => '1544411108000'], + 'OrganizationDomain' => ['description' => '组织域名', 'type' => 'string', 'example' => 'hello'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Running'], + 'InviteTime' => ['description' => '邀请时间', 'type' => 'string', 'example' => '1544411108000'], + 'ChannelId' => ['description' => '通道ID', 'type' => 'string', 'example' => 'chan-channelx-1l1hmckuuisxo'], + 'OrganizationName' => ['description' => '组织名', 'type' => 'string', 'example' => 'name'], + 'OrganizationDescription' => ['description' => '组织描述', 'type' => 'string', 'example' => 'description'], + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'example' => 'peers-aaaaaa1-1oxw31d046jtl'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Result\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<CreateFabricChannelMemberResponse>\\r\\n\\t<Result>true</Result>\\r\\n\\t<RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</CreateFabricChannelMemberResponse>","errorExample":""}]', - 'title' => 'CreateFabricChannelMember', - 'summary' => '调用CreateFabricChannelMember将其他组织添加到通道中。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"WithPeer\\": true,\\n \\"AcceptTime\\": \\"1544411108000\\",\\n \\"OrganizationDomain\\": \\"hello\\",\\n \\"State\\": \\"Running\\",\\n \\"InviteTime\\": \\"1544411108000\\",\\n \\"ChannelId\\": \\"chan-channelx-1l1hmckuuisxo\\",\\n \\"OrganizationName\\": \\"name\\",\\n \\"OrganizationDescription\\": \\"description\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa1-1oxw31d046jtl\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricChannelMembersResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <WithPeer>true</WithPeer>\\n <AcceptTime>1544411108000</AcceptTime>\\n <OrganizationDomain>hello</OrganizationDomain>\\n <State>Running</State>\\n <InviteTime>1544411108000</InviteTime>\\n <ChannelId>chan-channelx-1l1hmckuuisxo</ChannelId>\\n <OrganizationName>name</OrganizationName>\\n <OrganizationDescription>description</OrganizationDescription>\\n <OrganizationId>peers-aaaaaa1-1oxw31d046jtl</OrganizationId>\\n </Result>\\n</DescribeFabricChannelMembersResponse>","errorExample":""}]', + 'title' => '查询通道的成员列表', + 'summary' => '调用DescribeFabricChannelMembers查询通道的成员列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateFabricConsortiumMember' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricChannelMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeFabricConsortiumAdminStatus' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ConsortiumId', - 'in' => 'query', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'consortium-aaaaaa-akpcsjjac2jd', - ], - ], - [ - 'name' => 'Code', - 'in' => 'query', - 'schema' => [ - 'description' => '邀请码', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '200', - ], - ], - [ - 'name' => 'Organization', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '组织列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => false, - 'example' => 'peers-aaaaaa1-1oxw31d046jtl', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 1000, - ], + 'name' => 'Location', + 'in' => 'formData', + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -9606,134 +6115,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '结果', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', + 'description' => '联盟管理状态信息', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7'], + 'ConsortiumAdministrator' => ['description' => '是否为盟主', 'type' => 'boolean', 'example' => 'true'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Result\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<CreateFabricConsortiumMemberResponse>\\r\\n\\t<Result>true</Result>\\r\\n\\t<RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</CreateFabricConsortiumMemberResponse>","errorExample":""}]', - 'title' => 'CreateFabricConsortiumMember', - 'summary' => '调用CreateFabricConsortiumMember创建一个组织加入联盟的提案。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwlulg7\\",\\n \\"ConsortiumAdministrator\\": true\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumAdminStatusResponse>\\r\\n\\t<Result>\\r\\n\\t\\t<ConsortiumId>10000</ConsortiumId>\\r\\n\\t\\t<ConsortiumAdministrator>true</ConsortiumAdministrator>\\r\\n\\t</Result>\\r\\n\\t<Result>\\r\\n\\t\\t<ConsortiumId>10001</ConsortiumId>\\r\\n\\t\\t<ConsortiumAdministrator>false</ConsortiumAdministrator>\\r\\n\\t</Result>\\r\\n\\t<RequestId>3E85A941-658C-40E8-9704-60513A0281CF</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</DescribeFabricConsortiumAdminStatusResponse>","errorExample":""}]', + 'title' => '获取联盟管理状态信息', + 'summary' => '调用DescribeFabricConsortiumAdminStatus获取联盟管理状态信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateFabricChannel' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumAdminStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeFabricConsortiumChaincodes' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ConsortiumId', - 'in' => 'query', - 'schema' => [ - 'description' => '联盟ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'consortium-aaaaaa-akpcsjjac2jd', - ], - ], - [ - 'name' => 'ChannelName', - 'in' => 'query', - 'schema' => [ - 'description' => '通道名。最大长度50个字符,可以包含英文或数字及符号"_", "-", "."。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'channelx', - ], - ], - [ - 'name' => 'BatchTimeout', - 'in' => 'formData', - 'schema' => [ - 'description' => '块超时时间。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], - ], - [ - 'name' => 'MaxMessageCount', 'in' => 'formData', - 'schema' => [ - 'description' => '块交易上限。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7'], ], [ - 'name' => 'PreferredMaxBytes', + 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => '块大小软限制。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '12', - ], - ], - [ - 'name' => 'Organization', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => '加入通道的组织ID号列表,输入:`Organization.1.Id=org1&Organization.2.Id=org2`。', - 'type' => 'string', - 'required' => false, - 'example' => 'peers-aaaaaa1-1oxw31d046jtl', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 1000, - ], + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -9741,570 +6187,243 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '创建结果', - 'type' => 'object', - 'properties' => [ - 'BatchTimeout' => [ - 'description' => '块超时时间', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'UpdateTime' => [ - 'description' => '更新时间', - 'type' => 'string', - 'example' => '1544768139624', - ], - 'ChaincodeCount' => [ - 'description' => '链码数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'PreferredMaxBytes' => [ - 'description' => '块大小软限制', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1544768139624', - ], - 'OwnerName' => [ - 'description' => '创建者', - 'type' => 'string', - 'example' => 'uid-', - ], - 'OwnerUid' => [ - 'description' => '创建者Uid', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1234', - ], - 'OwnerBid' => [ - 'description' => '创建者Bid', - 'type' => 'string', - 'example' => '26842', - ], - 'MaxMessageCount' => [ - 'description' => '块交易上限', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'MemberCount' => [ - 'description' => '成员数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-aaaaaa-akpcsjjac2jd', - ], - 'ChannelName' => [ - 'description' => '通道名', - 'type' => 'string', - 'example' => 'channelx', - ], - 'SupportConfig' => [ - 'description' => '是否支持配置', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ChannelId' => [ - 'description' => '通道ID', - 'type' => 'string', - 'example' => 'chan-channelx-1l1hmckuuisxo', - ], - 'ConsortiumName' => [ - 'description' => '联盟名', - 'type' => 'string', - 'example' => 'aaaaaa', - ], - 'BlockCount' => [ - 'description' => '块个数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'description' => '联盟的链码列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'EndorsePolicy' => ['description' => '背书策略', 'type' => 'string', 'example' => 'OR (\'aaaaaa1MSP.peer\')'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Instantiatable'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1544411108000'], + 'ChaincodeId' => ['description' => '链码ID', 'type' => 'string', 'example' => 'code-sacc-1pr09q7jmo0np'], + 'ProviderName' => ['description' => '链码上传者名称', 'type' => 'string', 'example' => 'name'], + 'Message' => ['description' => '消息', 'type' => 'string', 'example' => 'ok'], + 'ChaincodeName' => ['description' => '链码名称', 'type' => 'string', 'example' => 'sacc'], + 'Install' => ['description' => '是否安装', 'type' => 'boolean', 'example' => 'true'], + 'Input' => ['description' => '链码输入', 'type' => 'string', 'example' => 'input'], + 'ProviderId' => ['description' => '链码上传者ID', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], + 'DeployTime' => ['description' => '部署时间', 'type' => 'string', 'example' => '1544411108000'], + 'ChaincodeVersion' => ['description' => '链码版本', 'type' => 'string', 'example' => '1.0'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7'], + 'ChannelName' => ['description' => '通道名', 'type' => 'string', 'example' => 'cname'], + 'ChannelId' => ['description' => '通道ID', 'type' => 'string', 'example' => 'chan-channelx-1l1hmckuuisxo'], + 'Path' => ['description' => '链码路径', 'type' => 'string', 'example' => 'go-sdk-demo/chaincode/src'], + ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ChannelNameDuplicated', - 'errorMessage' => '%s', - ], - [ - 'errorCode' => 'InvalidParameter.%s', - 'errorMessage' => '%s', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"BatchTimeout\\": 2,\\n \\"UpdateTime\\": \\"1544768139624\\",\\n \\"ChaincodeCount\\": 2,\\n \\"PreferredMaxBytes\\": 12,\\n \\"State\\": \\"Running\\",\\n \\"CreateTime\\": \\"1544768139624\\",\\n \\"OwnerName\\": \\"uid-\\",\\n \\"OwnerUid\\": 1234,\\n \\"OwnerBid\\": \\"26842\\",\\n \\"MaxMessageCount\\": 50,\\n \\"MemberCount\\": 1,\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ConsortiumId\\": \\"consortium-aaaaaa-akpcsjjac2jd\\",\\n \\"ChannelName\\": \\"channelx\\",\\n \\"SupportConfig\\": true,\\n \\"ChannelId\\": \\"chan-channelx-1l1hmckuuisxo\\",\\n \\"ConsortiumName\\": \\"aaaaaa\\",\\n \\"BlockCount\\": 2\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateFabricChannelResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <BatchTimeout>2</BatchTimeout>\\n <UpdateTime>1544768139624</UpdateTime>\\n <ChaincodeCount>2</ChaincodeCount>\\n <PreferredMaxBytes>12</PreferredMaxBytes>\\n <State>Running</State>\\n <CreateTime>1544768139624</CreateTime>\\n <OwnerName>uid-</OwnerName>\\n <OwnerUid>1234</OwnerUid>\\n <OwnerBid>26842</OwnerBid>\\n <MaxMessageCount>50</MaxMessageCount>\\n <MemberCount>1</MemberCount>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ConsortiumId>consortium-aaaaaa-akpcsjjac2jd</ConsortiumId>\\n <ChannelName>channelx</ChannelName>\\n <SupportConfig>true</SupportConfig>\\n <ChannelId>chan-channelx-1l1hmckuuisxo</ChannelId>\\n <ConsortiumName>aaaaaa</ConsortiumName>\\n <BlockCount>2</BlockCount>\\n </Result>\\n</CreateFabricChannelResponse>","errorExample":""}]', - 'title' => 'CreateFabricChannel', - 'summary' => '调用CreateFabricChannel创建通道。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Type\\": 1,\\n \\"EndorsePolicy\\": \\"OR (\'aaaaaa1MSP.peer\')\\",\\n \\"State\\": \\"Instantiatable\\",\\n \\"CreateTime\\": \\"1544411108000\\",\\n \\"ChaincodeId\\": \\"code-sacc-1pr09q7jmo0np\\",\\n \\"ProviderName\\": \\"name\\",\\n \\"Message\\": \\"ok\\",\\n \\"ChaincodeName\\": \\"sacc\\",\\n \\"Install\\": true,\\n \\"Input\\": \\"input\\",\\n \\"ProviderId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"DeployTime\\": \\"1544411108000\\",\\n \\"ChaincodeVersion\\": \\"1.0\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwlulg7\\",\\n \\"ChannelName\\": \\"cname\\",\\n \\"ChannelId\\": \\"chan-channelx-1l1hmckuuisxo\\",\\n \\"Path\\": \\"go-sdk-demo/chaincode/src\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumChaincodesResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Type>1</Type>\\n <EndorsePolicy>OR (\'aaaaaa1MSP.peer\')</EndorsePolicy>\\n <State>Instantiatable</State>\\n <CreateTime>1544411108000</CreateTime>\\n <ChaincodeId>code-sacc-1pr09q7jmo0np</ChaincodeId>\\n <ProviderName>name</ProviderName>\\n <Message>ok</Message>\\n <ChaincodeName>sacc</ChaincodeName>\\n <Install>true</Install>\\n <Input>input</Input>\\n <ProviderId>peers-aaaaaa2-1eqnj5o5w9dt3</ProviderId>\\n <DeployTime>1544411108000</DeployTime>\\n <ChaincodeVersion>1.0</ChaincodeVersion>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwlulg7</ConsortiumId>\\n <ChannelName>cname</ChannelName>\\n <ChannelId>chan-channelx-1l1hmckuuisxo</ChannelId>\\n <Path>go-sdk-demo/chaincode/src</Path>\\n </Result>\\n</DescribeFabricConsortiumChaincodesResponse>","errorExample":""}]', + 'title' => '获取联盟的链码列表', + 'summary' => '调用DescribeFabricConsortiumChaincodes获取联盟的链码列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateFabricConsortium' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumChaincodes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeFabricConsortiumChannels' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Location', - 'in' => 'formData', - 'schema' => [ - 'description' => '实例所在的位置信息,和**RegionId**一致', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'OrdererType', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Orderer类型:'."\n" - .'- kafka (不再支持)'."\n" - .'- etcdraft', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'etcdraft', - ], - ], - [ - 'name' => 'ZoneId', - 'in' => 'formData', - 'schema' => [ - 'description' => '区域', - 'type' => 'string', - 'required' => false, - 'example' => 'random', - ], - ], - [ - 'name' => 'ConsortiumName', - 'in' => 'formData', - 'schema' => [ - 'description' => '联盟名', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'aaaaa', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'formData', - 'schema' => [ - 'description' => '域名', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'helloworld', - ], - ], - [ - 'name' => 'ConsortiumDescription', - 'in' => 'formData', - 'schema' => [ - 'description' => '联盟描述', - 'type' => 'string', - 'required' => false, - 'example' => 'some', - ], - ], - [ - 'name' => 'ChannelPolicy', - 'in' => 'formData', - 'schema' => [ - 'description' => '创建通道策略', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], - ], - [ - 'name' => 'SpecName', - 'in' => 'formData', - 'schema' => [ - 'description' => '规格:'."\n" - .'- starter 体验版'."\n" - .'- basic 基础版'."\n" - .'- enterprise 企业版'."\n" - .'- enterprise-sgx 企业安全版', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'basic', - ], - ], - [ - 'name' => 'OrderersCount', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Orderer数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'name' => 'ConsortiumId', + 'in' => 'query', + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****'], ], [ - 'name' => 'PeersCount', + 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => 'Peer数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], - [ - 'name' => 'PaymentDurationUnit', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '周期单位', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'month', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Result' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'BatchTimeout' => ['description' => '批处理超时时间', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'UpdateTime' => ['description' => '更新时间', 'type' => 'string', 'example' => '1544411108000'], + 'ChaincodeCount' => ['description' => '链码数量', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'PreferredMaxBytes' => ['description' => '首选最大字节数', 'type' => 'integer', 'format' => 'int32', 'example' => '102410241'], + 'MemberJoinedCount' => ['description' => '加入联盟的成员数量', 'type' => 'string', 'example' => '3'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Running'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1544411108000'], + 'SupportChannelConfig' => ['description' => '是否支持自定义配置参数', 'type' => 'boolean', 'example' => 'true'], + 'OwnerName' => ['description' => '创建者', 'type' => 'string', 'example' => 'uid-*'], + 'OwnerUid' => ['description' => '创建者Uid', 'type' => 'integer', 'format' => 'int64', 'example' => '212'], + 'OwnerBid' => ['description' => '创建者Bid', 'type' => 'string', 'example' => '26842'], + 'MaxMessageCount' => ['description' => '块包含最大消息条目', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'MemberCount' => ['description' => '通道成员数量', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'NeedJoined' => ['description' => '是否需要加入', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****'], + 'ChannelName' => ['description' => '通道名称', 'type' => 'string', 'example' => 'mychammel'], + 'DeleteTime' => ['description' => '删除时间', 'type' => 'string', 'example' => '1544411108000'], + 'ChannelId' => ['description' => '通道ID', 'type' => 'string', 'example' => 'chan-channelx-1l1hmckuuisxo'], + 'ConsortiumChannelId' => ['description' => '联盟中通道序列', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Deleted' => ['description' => '是否删除', 'type' => 'boolean', 'example' => 'true'], + 'ConsortiumName' => ['description' => '联盟名称', 'type' => 'string', 'example' => 'name'], + 'BlockCount' => ['description' => '块数量', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + ], + 'description' => '', + ], + 'description' => '', + ], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"BatchTimeout\\": 2,\\n \\"UpdateTime\\": \\"1544411108000\\",\\n \\"ChaincodeCount\\": 2,\\n \\"PreferredMaxBytes\\": 102410241,\\n \\"MemberJoinedCount\\": \\"3\\",\\n \\"State\\": \\"Running\\",\\n \\"CreateTime\\": \\"1544411108000\\",\\n \\"SupportChannelConfig\\": true,\\n \\"OwnerName\\": \\"uid-*\\",\\n \\"OwnerUid\\": 212,\\n \\"OwnerBid\\": \\"26842\\",\\n \\"MaxMessageCount\\": 200,\\n \\"MemberCount\\": 3,\\n \\"NeedJoined\\": true,\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwl****\\",\\n \\"ChannelName\\": \\"mychammel\\",\\n \\"DeleteTime\\": \\"1544411108000\\",\\n \\"ChannelId\\": \\"chan-channelx-1l1hmckuuisxo\\",\\n \\"ConsortiumChannelId\\": 1,\\n \\"Deleted\\": true,\\n \\"ConsortiumName\\": \\"name\\",\\n \\"BlockCount\\": 2\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumChannelsResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <BatchTimeout>2</BatchTimeout>\\n <UpdateTime>1544411108000</UpdateTime>\\n <ChaincodeCount>2</ChaincodeCount>\\n <PreferredMaxBytes>102410241</PreferredMaxBytes>\\n <MemberJoinedCount>3</MemberJoinedCount>\\n <State>Running</State>\\n <CreateTime>1544411108000</CreateTime>\\n <SupportChannelConfig>true</SupportChannelConfig>\\n <OwnerName>uid-*</OwnerName>\\n <OwnerUid>212</OwnerUid>\\n <OwnerBid>26842</OwnerBid>\\n <MaxMessageCount>200</MaxMessageCount>\\n <MemberCount>3</MemberCount>\\n <NeedJoined>true</NeedJoined>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>\\n <ChannelName>mychammel</ChannelName>\\n <DeleteTime>1544411108000</DeleteTime>\\n <ChannelId>chan-channelx-1l1hmckuuisxo</ChannelId>\\n <ConsortiumChannelId>1</ConsortiumChannelId>\\n <Deleted>true</Deleted>\\n <ConsortiumName>name</ConsortiumName>\\n <BlockCount>2</BlockCount>\\n </Result>\\n</DescribeFabricConsortiumChannelsResponse>","errorExample":""}]', + 'title' => '获取联盟的通道列表', + 'summary' => '调用DescribeFabricConsortiumChannels获取联盟的通道列表。', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'PaymentDuration', - 'in' => 'formData', - 'schema' => [ - 'description' => '计费周期', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '2', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeConsortiumChannels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeFabricConsortiumConfig' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Organization', - 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '组织列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => false, - 'example' => 'peers-yidio-1tuigx42b1goc', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, - ], + 'AK' => [], ], ], + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '结果', + 'description' => '“创建联盟”的参数可选值。', 'type' => 'object', 'properties' => [ - 'ChannelCount' => [ - 'description' => '通道数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Domain' => [ - 'description' => '域名', - 'type' => 'string', - 'example' => 'hello', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1544086901984', - ], - 'SpecName' => [ - 'description' => '规格', - 'type' => 'string', - 'example' => 'basic', - ], - 'OrdererCount' => [ - 'description' => 'orderer数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ServiceState' => [ - 'description' => '服务状态', - 'type' => 'string', - 'example' => 'Pending', - ], - 'ClusterState' => [ - 'description' => '集群状态', - 'type' => 'string', - 'example' => 'Pending', - ], - 'OwnerUid' => [ - 'description' => '创建者uid', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1019556', - ], - 'OwnerBid' => [ - 'description' => '创建者bid', - 'type' => 'string', - 'example' => '26842', - ], - 'CodeName' => [ - 'description' => '域名', - 'type' => 'string', - 'example' => 'lianmenyumingyi', - ], - 'RegionId' => [ - 'description' => '地域', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'MemberCount' => [ - 'description' => '成员数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], 'ChannelPolicy' => [ - 'description' => '通道策略', - 'type' => 'string', - 'example' => 'Any', + 'type' => 'array', + 'items' => ['description' => '创建通道策略。', 'type' => 'string', 'example' => '[ "Any" ]'], + 'description' => '', ], 'OrdererType' => [ - 'description' => 'orderer类型', - 'type' => 'string', - 'example' => 'Kafka', - ], - 'Description' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => 'string', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', - ], - 'ZoneId' => [ - 'description' => '区域', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ConsortiumName' => [ - 'description' => '联盟名', - 'type' => 'string', - 'example' => 'myconsortium', + 'type' => 'array', + 'items' => ['description' => 'Orderer类型。', 'type' => 'string', 'example' => '[ "Solo", "Kafka", "etcdraft"]'], + 'description' => '', ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"ChannelCount\\": 0,\\n \\"Domain\\": \\"hello\\",\\n \\"CreateTime\\": \\"1544086901984\\",\\n \\"SpecName\\": \\"basic\\",\\n \\"OrdererCount\\": 1,\\n \\"ServiceState\\": \\"Pending\\",\\n \\"ClusterState\\": \\"Pending\\",\\n \\"OwnerUid\\": 1019556,\\n \\"OwnerBid\\": \\"26842\\",\\n \\"CodeName\\": \\"lianmenyumingyi\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"MemberCount\\": 2,\\n \\"ChannelPolicy\\": \\"Any\\",\\n \\"OrdererType\\": \\"Kafka\\",\\n \\"Description\\": \\"string\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwlulg7\\",\\n \\"ZoneId\\": \\"cn-hangzhou\\",\\n \\"ConsortiumName\\": \\"myconsortium\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateFabricConsortiumResponse>\\r\\n<result>\\r\\n\\t\\t<CodeName>阿里巴巴集团区块链联盟</CodeName>\\r\\n\\t\\t<ClusterState>Pending</ClusterState>\\r\\n\\t\\t<ConsortiumId>c-93k8d34jy79y79</ConsortiumId>\\r\\n\\t\\t<CreateTime>1999-05-10 09:00:00</CreateTime>\\r\\n\\t\\t<OwnerBid>12312</OwnerBid>\\r\\n\\t\\t<OrdererCount>1</OrdererCount>\\r\\n\\t\\t<OrdererType>kafka</OrdererType>\\r\\n\\t\\t<ConsortiumName>阿里巴巴集团</ConsortiumName>\\r\\n\\t\\t<OrganizationCount>3</OrganizationCount>\\r\\n\\t\\t<ChannelCount>0</ChannelCount>\\r\\n\\t\\t<ChannelPolicy>ANY</ChannelPolicy>\\r\\n\\t\\t<Description>string</Description>\\r\\n\\t\\t<Domain>domain</Domain>\\r\\n\\t\\t<MemberCount>2</MemberCount>\\r\\n\\t\\t<ServiceState>Pending</ServiceState>\\r\\n\\t</result>\\r\\n\\t<RequestId>2537DB1B-F478-431E-A847-5DDAAE2BD251</RequestId>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n\\t<Success>true</Success>\\r\\n</CreateFabricConsortiumResponse>","errorExample":""}]', - 'title' => 'CreateFabricConsortium', - 'summary' => '调用CreateFabricConsortium创建联盟。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"ChannelPolicy\\": [\\n \\"[ \\\\\\"Any\\\\\\" ]\\"\\n ],\\n \\"OrdererType\\": [\\n \\"[ \\\\\\"Solo\\\\\\", \\\\\\"Kafka\\\\\\", \\\\\\"etcdraft\\\\\\"]\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumConfigResponse>\\n <Result>\\n <OrdererType>Solo</OrdererType>\\n <OrdererType>Kafka</OrdererType>\\n <OrdererType>etcdraft</OrdererType>\\n <ChannelPolicy>Any</ChannelPolicy>\\n </Result>\\n <RequestId>1D606B42-57BD-486E-8CAB-E184A1C37E57</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</DescribeFabricConsortiumConfigResponse>","errorExample":""}]', + 'title' => '获取“创建联盟”的参数可选值', + 'summary' => '调用DescribeFabricConsortiumConfig获取“创建联盟”的参数可选值。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateFabricOrganization' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeFabricConsortiumDeletable' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrganizationName', + 'name' => 'ConsortiumId', 'in' => 'query', - 'schema' => [ - 'description' => '名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'name', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****'], ], [ 'name' => 'Location', - 'in' => 'query', - 'schema' => [ - 'description' => '区域', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '域名', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'domain', - ], - ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => '描述', - 'type' => 'string', - 'required' => false, - 'example' => 'description', - ], - ], - [ - 'name' => 'SpecName', - 'in' => 'query', - 'schema' => [ - 'description' => '规格名:'."\n" - .'- starter:体验版'."\n" - .'- basic:基础版'."\n" - .'- enterprise:企业版'."\n" - .'- enterprise-sgx:企业安全版'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'basic', - ], - ], - [ - 'name' => 'PeersCount', - 'in' => 'formData', - 'schema' => [ - 'description' => '节点数据量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], - ], - [ - 'name' => 'PaymentDuration', 'in' => 'formData', - 'schema' => [ - 'description' => '计费周期', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '12', - ], - ], - [ - 'name' => 'PaymentDurationUnit', - 'in' => 'formData', - 'schema' => [ - 'description' => '周期单位', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2', - ], + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -10312,196 +6431,73 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ 'description' => '结果', 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => '域名', - 'type' => 'string', - 'example' => 'domain', - ], - 'PeerCount' => [ - 'description' => '组织节点数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1544086901984', - ], - 'ConsortiumCount' => [ - 'description' => '联盟数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'SpecName' => [ - 'description' => '节点规格', - 'type' => 'string', - 'example' => 'baisc', - ], - 'ServiceState' => [ - 'description' => '服务状态', - 'type' => 'string', - 'example' => 'Pending', - ], - 'OwnerName' => [ - 'description' => '所有者名称', - 'type' => 'string', - 'example' => 'name', - ], - 'ClusterState' => [ - 'description' => '集群状态', - 'type' => 'string', - 'example' => 'Pending', - ], - 'OwnerUid' => [ - 'description' => '所有者用户ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1019556', - ], - 'OwnerBid' => [ - 'description' => '所有者业务代码', - 'type' => 'string', - 'example' => '26842', - ], - 'CodeName' => [ - 'description' => '域名代码', - 'type' => 'string', - 'example' => 'name', - ], - 'OrganizationDescription' => [ - 'description' => '组织描述', - 'type' => 'string', - 'example' => 'desc', - ], - 'RegionId' => [ - 'description' => '组织节点所在区域', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'example' => 'zuzhiyumingyi-hc5d1bwlulg7', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'ZoneId' => [ - 'description' => '组织节点所在可用区', - 'type' => 'string', - 'example' => 'zone', - ], - 'UserCount' => [ - 'description' => '组织用户数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'OrganizationName' => [ - 'description' => '组织名称', - 'type' => 'string', - 'example' => 'zuzhiyumingyi', - ], + 'Deletable' => ['description' => '是否可删除', 'type' => 'boolean', 'example' => 'true'], + 'Domain' => ['description' => '域名', 'type' => 'string', 'example' => 'domain'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => 'description'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Running'], + 'ZoneId' => ['description' => '可用区', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'CodeName' => ['description' => '域名前缀', 'type' => 'string', 'example' => 'codename'], + 'ConsortiumName' => ['description' => '联盟名称', 'type' => 'string', 'example' => 'myconsortium'], + 'RegionId' => ['description' => '地域', 'type' => 'string', 'example' => 'cn-hangzhou'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Domain\\": \\"domain\\",\\n \\"PeerCount\\": 3,\\n \\"CreateTime\\": \\"1544086901984\\",\\n \\"ConsortiumCount\\": 2,\\n \\"SpecName\\": \\"baisc\\",\\n \\"ServiceState\\": \\"Pending\\",\\n \\"OwnerName\\": \\"name\\",\\n \\"ClusterState\\": \\"Pending\\",\\n \\"OwnerUid\\": 1019556,\\n \\"OwnerBid\\": \\"26842\\",\\n \\"CodeName\\": \\"name\\",\\n \\"OrganizationDescription\\": \\"desc\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"OrganizationId\\": \\"zuzhiyumingyi-hc5d1bwlulg7\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ZoneId\\": \\"zone\\",\\n \\"UserCount\\": 2,\\n \\"OrganizationName\\": \\"zuzhiyumingyi\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateFabricOrganizationResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Domain>domain</Domain>\\n <PeerCount>3</PeerCount>\\n <CreateTime>1544086901984</CreateTime>\\n <ConsortiumCount>2</ConsortiumCount>\\n <SpecName>baisc</SpecName>\\n <ServiceState>Pending</ServiceState>\\n <OwnerName>name</OwnerName>\\n <ClusterState>Pending</ClusterState>\\n <OwnerUid>1019556</OwnerUid>\\n <OwnerBid>26842</OwnerBid>\\n <CodeName>name</CodeName>\\n <OrganizationDescription>desc</OrganizationDescription>\\n <RegionId>cn-hangzhou</RegionId>\\n <OrganizationId>zuzhiyumingyi-hc5d1bwlulg7</OrganizationId>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ZoneId>zone</ZoneId>\\n <UserCount>2</UserCount>\\n <OrganizationName>zuzhiyumingyi</OrganizationName>\\n </Result>\\n</CreateFabricOrganizationResponse>","errorExample":""}]', - 'title' => '创建组织', - 'summary' => '调用CreateFabricOrganization创建组织。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'CreateFabricOrganizationUser' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Deletable\\": true,\\n \\"Domain\\": \\"domain\\",\\n \\"Description\\": \\"description\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwl****\\",\\n \\"State\\": \\"Running\\",\\n \\"ZoneId\\": \\"cn-hangzhou\\",\\n \\"CodeName\\": \\"codename\\",\\n \\"ConsortiumName\\": \\"myconsortium\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumDeletableResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Deletable>true</Deletable>\\n <Domain>domain</Domain>\\n <Description>description</Description>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>\\n <State>Running</State>\\n <ZoneId>cn-hangzhou</ZoneId>\\n <CodeName>codename</CodeName>\\n <ConsortiumName>myconsortium</ConsortiumName>\\n <RegionId>cn-hangzhou</RegionId>\\n </Result>\\n</DescribeFabricConsortiumDeletableResponse>","errorExample":""}]', + 'title' => '查询联盟是否可删除', + 'summary' => '调用DescribeFabricConsortiumDeletable查询联盟是否可删除。', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumDeletable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeFabricConsortiumMemberApproval' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrganizationId', - 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-yidio-1tuigx42b****', - ], - ], - [ - 'name' => 'Username', - 'in' => 'formData', - 'schema' => [ - 'description' => '用户名', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'username', - ], - ], - [ - 'name' => 'Password', - 'in' => 'formData', - 'schema' => [ - 'description' => '密码', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'password', - ], + 'name' => 'ConsortiumId', + 'in' => 'query', + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****'], ], [ - 'name' => 'Attrs', + 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => 'ABAC属性', - 'type' => 'string', - 'required' => false, - 'example' => 'foo=foo1,bar=bar1', - ], + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -10509,100 +6505,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '结果', - 'type' => 'object', - 'properties' => [ - 'Password' => [ - 'description' => '密码', - 'type' => 'string', - 'example' => 'password', - ], - 'ExpireTime' => [ - 'description' => '过期时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1544086901984', - ], - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'example' => 'peers-yidio-1tuigx42b****', - ], - 'Username' => [ - 'description' => '用户名', - 'type' => 'string', - 'example' => 'username', - ], - 'Fullname' => [ - 'description' => '全名', - 'type' => 'string', - 'example' => 'fullname', - ], + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Running'], + 'ChannelCreatePolicy' => ['description' => '通道创建策略', 'type' => 'string', 'example' => 'Any'], + 'ConfirmTime' => ['description' => '确认时间', 'type' => 'string', 'example' => '1544411108000'], + 'OrganizationName' => ['description' => '组织名称', 'type' => 'string', 'example' => 'orgname'], + 'ConsortiumName' => ['description' => '联盟名称', 'type' => 'string', 'example' => 'name'], + 'DomainName' => ['description' => '域名', 'type' => 'string', 'example' => 'domain'], + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w****'], + ], + 'description' => '', ], + 'description' => '', ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Password\\": \\"password\\",\\n \\"ExpireTime\\": \\"1544411108000\\",\\n \\"CreateTime\\": \\"1544086901984\\",\\n \\"OrganizationId\\": \\"peers-yidio-1tuigx42b****\\",\\n \\"Username\\": \\"username\\",\\n \\"Fullname\\": \\"fullname\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateFabricOrganizationUserResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Password>password</Password>\\n <ExpireTime>1544411108000</ExpireTime>\\n <CreateTime>1544086901984</CreateTime>\\n <OrganizationId>peers-yidio-1tuigx42b****</OrganizationId>\\n <Username>username</Username>\\n <Fullname>fullname</Fullname>\\n </Result>\\n</CreateFabricOrganizationUserResponse>","errorExample":""}]', - 'title' => '创建组织用户', - 'summary' => '调用CreateFabricOrganizationUser创建组织用户。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteFabricChaincode' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwl****\\",\\n \\"State\\": \\"Running\\",\\n \\"ChannelCreatePolicy\\": \\"Any\\",\\n \\"ConfirmTime\\": \\"1544411108000\\",\\n \\"OrganizationName\\": \\"orgname\\",\\n \\"ConsortiumName\\": \\"name\\",\\n \\"DomainName\\": \\"domain\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumMemberApprovalResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>\\n <State>Running</State>\\n <ChannelCreatePolicy>Any</ChannelCreatePolicy>\\n <ConfirmTime>1544411108000</ConfirmTime>\\n <OrganizationName>orgname</OrganizationName>\\n <ConsortiumName>name</ConsortiumName>\\n <DomainName>domain</DomainName>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w****</OrganizationId>\\n </Result>\\n</DescribeFabricConsortiumMemberApprovalResponse>","errorExample":""}]', + 'title' => '获取联盟成员的审批状态列表', + 'summary' => '调用DescribeFabricConsortiumMemberApproval获取联盟成员的审批状态列表。', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumMemberApproval', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeFabricConsortiumMembers' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ChaincodeId', + 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '链码ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'code-sacc-1pr09q7jm****', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****'], + ], + [ + 'name' => 'Location', + 'in' => 'formData', + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -10610,83 +6577,72 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Result' => [ + 'description' => '联盟的组织信息', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => '域名', 'type' => 'string', 'example' => 'domain'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => 'description'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7'], + 'OrganizationName' => ['description' => '组织名', 'type' => 'string', 'example' => 'name'], + 'JoinedTime' => ['description' => '加入联盟的时间', 'type' => 'string', 'example' => '1544411108000'], + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<DeleteFabricChaincodeResponse>\\r\\n\\t<RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</DeleteFabricChaincodeResponse>","errorExample":""}]', - 'title' => '删除错误的链码', - 'summary' => '调用DeleteFabricChaincode删除错误的链码。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Domain\\": \\"domain\\",\\n \\"Description\\": \\"description\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwlulg7\\",\\n \\"OrganizationName\\": \\"name\\",\\n \\"JoinedTime\\": \\"1544411108000\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumMembersResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Domain>domain</Domain>\\n <Description>description</Description>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwlulg7</ConsortiumId>\\n <OrganizationName>name</OrganizationName>\\n <JoinedTime>1544411108000</JoinedTime>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w9dt3</OrganizationId>\\n </Result>\\n</DescribeFabricConsortiumMembersResponse>","errorExample":""}]', + 'title' => '获取联盟的组织信息', + 'summary' => '调用DescribeFabricConsortiumMembers获取联盟的组织信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'JoinFabricChannel' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeFabricConsortiumOrderers' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ChannelId', - 'in' => 'query', - 'schema' => [ - 'description' => '通道ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'chan-channelx-1l1hmckuu****', - ], - ], - [ - 'name' => 'Do', - 'in' => 'query', - 'schema' => [ - 'description' => '操作', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'accept', - ], + 'name' => 'ConsortiumId', + 'in' => 'formData', + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-aaaaaa-akpcsjjac2jd '], ], [ 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '实例所在的位置信息,和RegionId一致', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -10694,222 +6650,155 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '结果', + 'description' => '联盟的Orderer列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'WithPeer' => [ - 'description' => '是否包含节点', - 'type' => 'boolean', - 'example' => 'true', - ], - 'AcceptTime' => [ - 'description' => '接受时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'DestroyTime' => [ - 'description' => '销毁时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'InviteTime' => [ - 'description' => '邀请时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ChannelId' => [ - 'description' => '通道ID', - 'type' => 'string', - 'example' => 'channelid', - ], - 'ConfirmTime' => [ - 'description' => '确认时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ApproveTime' => [ - 'description' => '批准时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], - ], + 'Domain' => ['description' => '域名', 'type' => 'string', 'example' => 'domain'], + 'UpdateTime' => ['description' => '更新时间', 'type' => 'string', 'example' => '1544411108000'], + 'OrdererName' => ['description' => 'Orderer名称', 'type' => 'string', 'example' => 'order1'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1544411108000'], + 'Port' => ['description' => '端口', 'type' => 'integer', 'format' => 'int32', 'example' => '7050'], + 'InstanceType' => ['description' => '实例类型', 'type' => 'string', 'example' => 'ecs.n1.small'], + ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"WithPeer\\": true,\\n \\"AcceptTime\\": \\"1533025590\\",\\n \\"State\\": \\"Running\\",\\n \\"DestroyTime\\": \\"1533025590\\",\\n \\"InviteTime\\": \\"1533025590\\",\\n \\"ChannelId\\": \\"channelid\\",\\n \\"ConfirmTime\\": \\"1533025590\\",\\n \\"ApproveTime\\": \\"1533025590\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<JoinFabricChannelResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <WithPeer>true</WithPeer>\\n <AcceptTime>1533025590</AcceptTime>\\n <State>Running</State>\\n <DestroyTime>1533025590</DestroyTime>\\n <InviteTime>1533025590</InviteTime>\\n <ChannelId>channelid</ChannelId>\\n <ConfirmTime>1533025590</ConfirmTime>\\n <ApproveTime>1533025590</ApproveTime>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w9dt3</OrganizationId>\\n </Result>\\n</JoinFabricChannelResponse>","errorExample":""}]', - 'title' => '确认加入通道', - 'summary' => '调用JoinFabricChannel确认加入通道。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Domain\\": \\"domain\\",\\n \\"UpdateTime\\": \\"1544411108000\\",\\n \\"OrdererName\\": \\"order1\\",\\n \\"CreateTime\\": \\"1544411108000\\",\\n \\"Port\\": 7050,\\n \\"InstanceType\\": \\"ecs.n1.small\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumOrderersResponse>\\r\\n<Result>\\r\\n\\t\\t<OrdererName>order1</OrdererName>\\r\\n\\t\\t<Port>7050</Port>\\r\\n\\t\\t<Domain>ordasdaerer1.orzxczcZXXweqwxsczxzXcxzxXzg1.alumunum.com</Domain>\\r\\n\\t\\t<CreateTime>2018-07-01 09:00:00</CreateTime>\\r\\n\\t\\t<UpdateTime>2018-07-02 09:00:00</UpdateTime>\\r\\n\\t\\t<InstanceType>ecs.n1.small</InstanceType>\\r\\n\\t</Result>\\r\\n\\t<Result>\\r\\n\\t\\t<OrdererName>order2</OrdererName>\\r\\n\\t\\t<Port>7050</Port>\\r\\n\\t\\t<Domain>orderer2.org1.alumunum.com</Domain>\\r\\n\\t\\t<CreateTime>2018-07-01 09:00:00</CreateTime>\\r\\n\\t\\t<UpdateTime>2018-07-02 09:00:00</UpdateTime>\\r\\n\\t\\t<InstanceType>ecs.n1.small</InstanceType>\\r\\n\\t</Result>\\r\\n\\t<RequestId>98B37CF5-AB0C-423E-8335-81A54899577E</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</DescribeFabricConsortiumOrderersResponse>","errorExample":""}]', + 'title' => '获取联盟的Orderer列表', + 'summary' => '调用DescribeFabricConsortiumOrderers获取联盟的Orderer列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeFabricOrdererLogs' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'ConsortiumId', - 'in' => 'query', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'consortium-test-iyuso3g7****', - ], - ], - [ - 'name' => 'OrdererName', - 'in' => 'query', - 'schema' => [ - 'description' => '排序节点名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'orderer1', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumOrderers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeFabricConsortiumSpecs' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Lines', - 'in' => 'query', - 'schema' => [ - 'description' => '显示行数', - 'type' => 'string', - 'required' => false, - 'example' => '50', - ], + 'AK' => [], ], ], + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '508EA949-6349-4C86-B8E7-1D90669382B1', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '结果', - 'type' => 'string', - 'example' => 'Kafka.Retry.Producer.RetryMax=3', - ], - 'Success' => [ - 'description' => '结果状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误代码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', + 'description' => '联盟的规格列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SpecName' => ['description' => '规格名', 'type' => 'string', 'example' => 'basic'], + 'SpecTitle' => ['description' => '标题', 'type' => 'string', 'example' => '基础版'], + 'Enable' => ['description' => '是否启用', 'type' => 'boolean', 'example' => 'true'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"508EA949-6349-4C86-B8E7-1D90669382B1\\",\\n \\"Result\\": \\"Kafka.Retry.Producer.RetryMax=3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrdererLogsResponse>\\n <RequestId>508EA949-6349-4C86-B8E7-1D90669382B1</RequestId>\\n <Result>Kafka.Retry.Producer.RetryMax=3</Result>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</DescribeFabricOrdererLogsResponse>","errorExample":""}]', - 'title' => '获取Orderer节点的日志信息', - 'summary' => '调用DescribeFabricOrdererLogs获取Orderer节点的日志信息。', - ], - 'DescribeFabricPeerLogs' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"SpecName\\": \\"basic\\",\\n \\"SpecTitle\\": \\"基础版\\",\\n \\"Enable\\": true\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumSpecsResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <SpecName>basic</SpecName>\\n <SpecTitle>基础版</SpecTitle>\\n <Enable>true</Enable>\\n </Result>\\n</DescribeFabricConsortiumSpecsResponse>","errorExample":""}]', + 'title' => '查询联盟的规格列表', + 'summary' => '调用DescribeFabricConsortiumSpecs查询联盟的规格列表。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumSpecs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeFabricConsortiums' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrganizationId', + 'name' => 'ConsortiumId', 'in' => 'query', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-test11-tzwny25vqicq', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => false, 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****'], ], [ - 'name' => 'PeerName', - 'in' => 'query', - 'schema' => [ - 'description' => 'Peer节点名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peer1', - ], + 'name' => 'Location', + 'in' => 'formData', + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'Lines', + 'name' => 'Tag', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '显示行数', - 'type' => 'string', + 'description' => '标签列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '标签键', 'type' => 'string', 'required' => true, 'example' => 'key1'], + 'Value' => ['description' => '标签值', 'type' => 'string', 'required' => false, 'example' => 'value1'], + ], + 'required' => false, + 'description' => '', + ], 'required' => false, - 'example' => '50', + 'maxItems' => 20, ], ], ], @@ -10918,97 +6807,92 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '78A09CAF-4944-4CAE-B25D-F5B6BA27D9F5', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], 'Result' => [ - 'description' => '日志记录', - 'type' => 'string', - 'example' => 'xxxx', - ], - 'Success' => [ - 'description' => '返回状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '状态代码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', + 'description' => '联盟列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ChannelCount' => ['description' => '通道数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'Domain' => ['description' => '域名', 'type' => 'string', 'example' => 'domain'], + 'State' => ['description' => '状态'."\n" + ."\n" + .'- Pending - 等待创建中'."\n" + .'- Initial - 创建中'."\n" + .'- Aborted - 创建失败'."\n" + .'- Created - 创建成功'."\n" + .'- Purging - 释放中'."\n" + .'- Damaged - 释放失败'."\n" + .'- Deleted - 已经释放'."\n" + .'- SpecChangPending - 等待规格变配中'."\n" + .'- SpecChanging - 规格变配中'."\n" + .'- Inactive - 暂停中'."\n" + .'- ServiceNotActivated - 云服务集成没有激活', 'type' => 'string', 'example' => 'Pending'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1544411108000'], + 'SpecName' => ['description' => '联盟节点规格', 'type' => 'string', 'example' => 'basic'], + 'SupportChannelConfig' => ['description' => '是否支持自定义配置参数', 'type' => 'boolean', 'example' => 'true'], + 'OwnerName' => ['description' => '创建者', 'type' => 'string', 'example' => 'uid-125566'], + 'OwnerUid' => ['description' => '创建者用户ID', 'type' => 'integer', 'format' => 'int64', 'example' => '12042815'], + 'OwnerBid' => ['description' => '创建者业务ID', 'type' => 'string', 'example' => '26842'], + 'CodeName' => ['description' => '域名前缀', 'type' => 'string', 'example' => 'code'], + 'RegionId' => ['description' => '地域', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'ChannelPolicy' => ['description' => '通道创建策略', 'type' => 'string', 'example' => 'Any'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '3A929FAC-A82D-4EAB-A0FF-D867426D8B23'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****'], + 'ExpiredTime' => ['description' => '付费到期时间', 'type' => 'string', 'example' => '1544411108000'], + 'OrganizationCount' => ['description' => '组织数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'ConsortiumName' => ['description' => '联盟名', 'type' => 'string', 'example' => 'name'], + 'MajorVersion' => ['type' => 'string', 'description' => ''], + 'Tags' => [ + 'description' => '标签列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '标签键', 'type' => 'string', 'example' => 'app'], + 'Value' => ['description' => '标签值', 'type' => 'string', 'example' => 'nat_internet'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"78A09CAF-4944-4CAE-B25D-F5B6BA27D9F5\\",\\n \\"Result\\": \\"xxxx\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricPeerLogsResponse>\\n <RequestId>78A09CAF-4944-4CAE-B25D-F5B6BA27D9F5</RequestId>\\n <Result>xxxx</Result>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</DescribeFabricPeerLogsResponse>","errorExample":""}]', - 'title' => '获取Peer节点日志信息', - 'summary' => '调用DescribeFabricPeerLogs获取Peer节点日志信息。', - ], - 'DescribeRootDomain' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ErrorCode\\": 200,\\n \\"Success\\": true,\\n \\"Result\\": [\\n {\\n \\"ChannelCount\\": 2,\\n \\"Domain\\": \\"domain\\",\\n \\"State\\": \\"Pending\\",\\n \\"CreateTime\\": \\"1544411108000\\",\\n \\"SpecName\\": \\"basic\\",\\n \\"SupportChannelConfig\\": true,\\n \\"OwnerName\\": \\"uid-125566\\",\\n \\"OwnerUid\\": 12042815,\\n \\"OwnerBid\\": \\"26842\\",\\n \\"CodeName\\": \\"code\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ChannelPolicy\\": \\"Any\\",\\n \\"RequestId\\": \\"3A929FAC-A82D-4EAB-A0FF-D867426D8B23\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwl****\\",\\n \\"ExpiredTime\\": \\"1544411108000\\",\\n \\"OrganizationCount\\": 2,\\n \\"ConsortiumName\\": \\"name\\",\\n \\"MajorVersion\\": \\"\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"app\\",\\n \\"Value\\": \\"nat_internet\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumsResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ErrorCode>200</ErrorCode>\\n <Success>true</Success>\\n <Result>\\n <ChannelCount>2</ChannelCount>\\n <Domain>domain</Domain>\\n <State>Pending</State>\\n <CreateTime>1544411108000</CreateTime>\\n <SpecName>basic</SpecName>\\n <SupportChannelConfig>true</SupportChannelConfig>\\n <OwnerName>uid-125566</OwnerName>\\n <OwnerUid>12042815</OwnerUid>\\n <OwnerBid>26842</OwnerBid>\\n <CodeName>code</CodeName>\\n <RegionId>cn-hangzhou</RegionId>\\n <ChannelPolicy>Any</ChannelPolicy>\\n <RequestId>3A929FAC-A82D-4EAB-A0FF-D867426D8B23</RequestId>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>\\n <ExpiredTime>1544411108000</ExpiredTime>\\n <OrganizationCount>2</OrganizationCount>\\n <ConsortiumName>name</ConsortiumName>\\n <Tags>\\n <Key>app</Key>\\n <Value>nat_internet</Value>\\n </Tags>\\n </Result>\\n</DescribeFabricConsortiumsResponse>","errorExample":""}]', + 'title' => 'DescribeFabricConsortiums', + 'summary' => '调用DescribeFabricConsortiums获取联盟列表。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-03-23T09:30:52.000Z', 'description' => '响应参数发生变更、错误码发生变更'], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], - ], - ], - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求Id', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Result' => [ - 'description' => '结果', - 'type' => 'string', - 'example' => 'onaliyunbaas.com', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiums', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Result\\": \\"onaliyunbaas.com\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<DescribeRootDomainResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Result>onaliyunbaas.com</Result>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</DescribeRootDomainResponse>","errorExample":""}]', - 'title' => '获取可用的根域名', - 'summary' => '获取Baas中可用的根域名。', ], 'DescribeFabricExplorer' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11016,53 +6900,27 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrganizationId', 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-test11-tzwny25vqicq', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-test11-tzwny25vqicq'], ], [ 'name' => 'ExMethod', 'in' => 'query', - 'schema' => [ - 'description' => '请求方法', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'GET', - ], + 'schema' => ['description' => '请求方法', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'GET'], ], [ 'name' => 'ExUrl', 'in' => 'query', - 'schema' => [ - 'description' => '请求URL', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '/api/v1/channel', - ], + 'schema' => ['description' => '请求URL', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '/api/v1/channel'], ], [ 'name' => 'ExBody', 'in' => 'query', - 'schema' => [ - 'description' => '请求体(注:保留使用)', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => '{}', - ], + 'schema' => ['description' => '请求体(注:保留使用)', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '{}'], ], ], 'responses' => [ @@ -11070,38 +6928,14 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '19E91C1D-9BD0-468F-A7DA-915263C6689F', - ], - 'Result' => [ - 'description' => '返回可转换成JSON的字符串', - 'type' => 'string', - 'example' => '{}', - ], - 'Success' => [ - 'description' => '返回状态', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '返回代码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'DynamicMessage' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => 'An error in the monitoring service has occurred.', - ], - 'DynamicCode' => [ - 'description' => '错误代码', - 'type' => 'string', - 'example' => 'ExplorerException', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '19E91C1D-9BD0-468F-A7DA-915263C6689F'], + 'Result' => ['description' => '返回可转换成JSON的字符串', 'type' => 'string', 'example' => '{}'], + 'Success' => ['description' => '返回状态', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '返回代码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'DynamicMessage' => ['description' => '错误消息', 'type' => 'string', 'example' => 'An error in the monitoring service has occurred.'], + 'DynamicCode' => ['description' => '错误代码', 'type' => 'string', 'example' => 'ExplorerException'], ], + 'description' => '', ], ], ], @@ -11111,296 +6945,113 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeFabricConsortiumConfig' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], - ], - ], - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Result' => [ - 'description' => '“创建联盟”的参数可选值。', - 'type' => 'object', - 'properties' => [ - 'ChannelPolicy' => [ - 'type' => 'array', - 'items' => [ - 'description' => '创建通道策略。', - 'type' => 'string', - 'example' => '[ "Any" ]', - ], - ], - 'OrdererType' => [ - 'type' => 'array', - 'items' => [ - 'description' => 'Orderer类型。', - 'type' => 'string', - 'example' => '[ "Solo", "Kafka", "etcdraft"]', - ], - ], - ], - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricExplorer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"ChannelPolicy\\": [\\n \\"[ \\\\\\"Any\\\\\\" ]\\"\\n ],\\n \\"OrdererType\\": [\\n \\"[ \\\\\\"Solo\\\\\\", \\\\\\"Kafka\\\\\\", \\\\\\"etcdraft\\\\\\"]\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumConfigResponse>\\n <Result>\\n <OrdererType>Solo</OrdererType>\\n <OrdererType>Kafka</OrdererType>\\n <OrdererType>etcdraft</OrdererType>\\n <ChannelPolicy>Any</ChannelPolicy>\\n </Result>\\n <RequestId>1D606B42-57BD-486E-8CAB-E184A1C37E57</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</DescribeFabricConsortiumConfigResponse>","errorExample":""}]', - 'title' => '获取“创建联盟”的参数可选值', - 'summary' => '调用DescribeFabricConsortiumConfig获取“创建联盟”的参数可选值。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeFabricConsortiumSpecs' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeFabricInvitationCode' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'ConsortiumId', + 'in' => 'formData', + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****'], + ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'DynamicMessage' => ['description' => '错误消息', 'type' => 'string', 'example' => 'The invitation code could not found.'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '77E25463-56CB-4F1C-8EB6-8ADDFE39EF0F'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'DynamicCode' => ['description' => '错误代码', 'type' => 'string', 'example' => 'InvitationCodeNotFound'], 'Result' => [ - 'description' => '联盟的规格列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'SpecName' => [ - 'description' => '规格名', - 'type' => 'string', - 'example' => 'basic', - ], - 'SpecTitle' => [ - 'description' => '标题', - 'type' => 'string', - 'example' => '基础版', - ], - 'Enable' => [ - 'description' => '是否启用', - 'type' => 'boolean', - 'example' => 'true', - ], - ], + 'description' => '结果', + 'type' => 'object', + 'properties' => [ + 'SenderId' => ['description' => '发送者ID', 'type' => 'integer', 'format' => 'int64', 'example' => '26345345'], + 'Email' => ['description' => '邮箱', 'type' => 'string', 'example' => 'abc@126.com'], + 'SenderBid' => ['description' => '发送者Bid', 'type' => 'string', 'example' => '27534'], + 'ExpireTime' => ['description' => '过期时间', 'type' => 'string', 'example' => '1544411108000'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****'], + 'InvitationId' => ['description' => '邀请ID', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'SenderName' => ['description' => '发送者', 'type' => 'string', 'example' => 'uid-35324'], + 'Code' => ['description' => '邀请码', 'type' => 'string', 'example' => 'code'], + 'Url' => ['description' => '邀请链接', 'type' => 'string', 'example' => 'http://baas.console.aliyun.test/invite?code=92e7ef1934892'], + 'Accepted' => ['description' => '是否接受', 'type' => 'boolean', 'example' => 'true'], + 'SendTime' => ['description' => '发送时间', 'type' => 'string', 'example' => '1544411108000'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"SpecName\\": \\"basic\\",\\n \\"SpecTitle\\": \\"基础版\\",\\n \\"Enable\\": true\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumSpecsResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <SpecName>basic</SpecName>\\n <SpecTitle>基础版</SpecTitle>\\n <Enable>true</Enable>\\n </Result>\\n</DescribeFabricConsortiumSpecsResponse>","errorExample":""}]', - 'title' => '查询联盟的规格列表', - 'summary' => '调用DescribeFabricConsortiumSpecs查询联盟的规格列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeFabricConsortiumOrderers' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DynamicMessage\\": \\"The invitation code could not found.\\",\\n \\"RequestId\\": \\"77E25463-56CB-4F1C-8EB6-8ADDFE39EF0F\\",\\n \\"ErrorCode\\": 200,\\n \\"Success\\": true,\\n \\"DynamicCode\\": \\"InvitationCodeNotFound\\",\\n \\"Result\\": {\\n \\"SenderId\\": 26345345,\\n \\"Email\\": \\"abc@126.com\\",\\n \\"SenderBid\\": \\"27534\\",\\n \\"ExpireTime\\": \\"1544411108000\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwl****\\",\\n \\"InvitationId\\": 2,\\n \\"SenderName\\": \\"uid-35324\\",\\n \\"Code\\": \\"code\\",\\n \\"Url\\": \\"http://baas.console.aliyun.test/invite?code=92e7ef1934892\\",\\n \\"Accepted\\": true,\\n \\"SendTime\\": \\"1544411108000\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricInvitationCodeResponse>\\n <DynamicMessage>The invitation code could not found.</DynamicMessage>\\n <RequestId>77E25463-56CB-4F1C-8EB6-8ADDFE39EF0F</RequestId>\\n <ErrorCode>200</ErrorCode>\\n <Success>true</Success>\\n <DynamicCode>InvitationCodeNotFound</DynamicCode>\\n <Result>\\n <SenderId>26345345</SenderId>\\n <Email>abc@126.com</Email>\\n <SenderBid>27534</SenderBid>\\n <ExpireTime>1544411108000</ExpireTime>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>\\n <InvitationId>2</InvitationId>\\n <SenderName>uid-35324</SenderName>\\n <Code>code</Code>\\n <Url>http://baas.console.aliyun.test/invite?code=92e7ef1934892</Url>\\n <Accepted>true</Accepted>\\n <SendTime>1544411108000</SendTime>\\n </Result>\\n</DescribeFabricInvitationCodeResponse>","errorExample":""}]', + 'title' => '获取邀请链接', + 'summary' => '调用DescribeFabricInvitationCode获取邀请链接。', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], - ], - ], - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'ConsortiumId', - 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'consortium-aaaaaa-akpcsjjac2jd ', - ], - ], - [ - 'name' => 'Location', - 'in' => 'formData', - 'schema' => [ - 'description' => '实例所在的位置信息,和RegionId一致', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Result' => [ - 'description' => '联盟的Orderer列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '域名', - 'type' => 'string', - 'example' => 'domain', - ], - 'UpdateTime' => [ - 'description' => '更新时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'OrdererName' => [ - 'description' => 'Orderer名称', - 'type' => 'string', - 'example' => 'order1', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'Port' => [ - 'description' => '端口', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7050', - ], - 'InstanceType' => [ - 'description' => '实例类型', - 'type' => 'string', - 'example' => 'ecs.n1.small', - ], - ], - ], - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricInvitationCode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Domain\\": \\"domain\\",\\n \\"UpdateTime\\": \\"1544411108000\\",\\n \\"OrdererName\\": \\"order1\\",\\n \\"CreateTime\\": \\"1544411108000\\",\\n \\"Port\\": 7050,\\n \\"InstanceType\\": \\"ecs.n1.small\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumOrderersResponse>\\r\\n<Result>\\r\\n\\t\\t<OrdererName>order1</OrdererName>\\r\\n\\t\\t<Port>7050</Port>\\r\\n\\t\\t<Domain>ordasdaerer1.orzxczcZXXweqwxsczxzXcxzxXzg1.alumunum.com</Domain>\\r\\n\\t\\t<CreateTime>2018-07-01 09:00:00</CreateTime>\\r\\n\\t\\t<UpdateTime>2018-07-02 09:00:00</UpdateTime>\\r\\n\\t\\t<InstanceType>ecs.n1.small</InstanceType>\\r\\n\\t</Result>\\r\\n\\t<Result>\\r\\n\\t\\t<OrdererName>order2</OrdererName>\\r\\n\\t\\t<Port>7050</Port>\\r\\n\\t\\t<Domain>orderer2.org1.alumunum.com</Domain>\\r\\n\\t\\t<CreateTime>2018-07-01 09:00:00</CreateTime>\\r\\n\\t\\t<UpdateTime>2018-07-02 09:00:00</UpdateTime>\\r\\n\\t\\t<InstanceType>ecs.n1.small</InstanceType>\\r\\n\\t</Result>\\r\\n\\t<RequestId>98B37CF5-AB0C-423E-8335-81A54899577E</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</DescribeFabricConsortiumOrderersResponse>","errorExample":""}]', - 'title' => '获取联盟的Orderer列表', - 'summary' => '调用DescribeFabricConsortiumOrderers获取联盟的Orderer列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], 'DescribeFabricInviter' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'Code', 'in' => 'formData', - 'schema' => [ - 'description' => '邀请码', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '200', - ], + 'schema' => ['description' => '邀请码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '200'], ], ], 'responses' => [ @@ -11408,55 +7059,22 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'C445762C-8909-4BD8-A2BD-BB45BF2441D8', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'C445762C-8909-4BD8-A2BD-BB45BF2441D8'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ 'description' => '邀请人信息列表', 'type' => 'object', 'properties' => [ - 'InviterId' => [ - 'description' => '邀请者ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3524234', - ], - 'ExpireTime' => [ - 'description' => '过期时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', - ], - 'ConsortiumName' => [ - 'description' => '联盟名称', - 'type' => 'string', - 'example' => 'name', - ], - 'InviterName' => [ - 'description' => '邀请者', - 'type' => 'string', - 'example' => 'name', - ], + 'InviterId' => ['description' => '邀请者ID', 'type' => 'integer', 'format' => 'int64', 'example' => '3524234'], + 'ExpireTime' => ['description' => '过期时间', 'type' => 'string', 'example' => '1544411108000'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****'], + 'ConsortiumName' => ['description' => '联盟名称', 'type' => 'string', 'example' => 'name'], + 'InviterName' => ['description' => '邀请者', 'type' => 'string', 'example' => 'name'], ], ], ], + 'description' => '', ], ], ], @@ -11466,36 +7084,50 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeFabricChannelMembers' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricInviter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeFabricOrdererLogs' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ChannelId', + 'name' => 'ConsortiumId', 'in' => 'query', - 'schema' => [ - 'description' => '通道ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'chan-channelx-1l1hmckuu****', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-test-iyuso3g7****'], + ], + [ + 'name' => 'OrdererName', + 'in' => 'query', + 'schema' => ['description' => '排序节点名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'orderer1'], + ], + [ + 'name' => 'Lines', + 'in' => 'query', + 'schema' => ['description' => '显示行数', 'type' => 'string', 'required' => false, 'example' => '50'], ], ], 'responses' => [ @@ -11503,97 +7135,41 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Result' => [ - 'description' => '通道的成员列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'WithPeer' => [ - 'description' => '是否包含节点', - 'type' => 'boolean', - 'example' => 'true', - ], - 'AcceptTime' => [ - 'description' => '接受时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'OrganizationDomain' => [ - 'description' => '组织域名', - 'type' => 'string', - 'example' => 'hello', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'InviteTime' => [ - 'description' => '邀请时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'ChannelId' => [ - 'description' => '通道ID', - 'type' => 'string', - 'example' => 'chan-channelx-1l1hmckuuisxo', - ], - 'OrganizationName' => [ - 'description' => '组织名', - 'type' => 'string', - 'example' => 'name', - ], - 'OrganizationDescription' => [ - 'description' => '组织描述', - 'type' => 'string', - 'example' => 'description', - ], - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'example' => 'peers-aaaaaa1-1oxw31d046jtl', - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '508EA949-6349-4C86-B8E7-1D90669382B1'], + 'Result' => ['description' => '结果', 'type' => 'string', 'example' => 'Kafka.Retry.Producer.RetryMax=3'], + 'Success' => ['description' => '结果状态', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误代码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"WithPeer\\": true,\\n \\"AcceptTime\\": \\"1544411108000\\",\\n \\"OrganizationDomain\\": \\"hello\\",\\n \\"State\\": \\"Running\\",\\n \\"InviteTime\\": \\"1544411108000\\",\\n \\"ChannelId\\": \\"chan-channelx-1l1hmckuuisxo\\",\\n \\"OrganizationName\\": \\"name\\",\\n \\"OrganizationDescription\\": \\"description\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa1-1oxw31d046jtl\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricChannelMembersResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <WithPeer>true</WithPeer>\\n <AcceptTime>1544411108000</AcceptTime>\\n <OrganizationDomain>hello</OrganizationDomain>\\n <State>Running</State>\\n <InviteTime>1544411108000</InviteTime>\\n <ChannelId>chan-channelx-1l1hmckuuisxo</ChannelId>\\n <OrganizationName>name</OrganizationName>\\n <OrganizationDescription>description</OrganizationDescription>\\n <OrganizationId>peers-aaaaaa1-1oxw31d046jtl</OrganizationId>\\n </Result>\\n</DescribeFabricChannelMembersResponse>","errorExample":""}]', - 'title' => '查询通道的成员列表', - 'summary' => '调用DescribeFabricChannelMembers查询通道的成员列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeFabricOrganizations' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"508EA949-6349-4C86-B8E7-1D90669382B1\\",\\n \\"Result\\": \\"Kafka.Retry.Producer.RetryMax=3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrdererLogsResponse>\\n <RequestId>508EA949-6349-4C86-B8E7-1D90669382B1</RequestId>\\n <Result>Kafka.Retry.Producer.RetryMax=3</Result>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</DescribeFabricOrdererLogsResponse>","errorExample":""}]', + 'title' => '获取Orderer节点的日志信息', + 'summary' => '调用DescribeFabricOrdererLogs获取Orderer节点的日志信息。', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrdererLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeFabricOrganization' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11601,19 +7177,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ + 'name' => 'OrganizationId', + 'in' => 'query', + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****'], + ], + [ 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ 'name' => 'Tag', @@ -11625,20 +7199,11 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键', - 'type' => 'string', - 'required' => true, - 'example' => 'key1', - ], - 'Value' => [ - 'description' => '标签值', - 'type' => 'string', - 'required' => false, - 'example' => 'value1', - ], + 'Key' => ['description' => '标签键', 'type' => 'string', 'required' => true, 'example' => 'key1'], + 'Value' => ['description' => '标签值', 'type' => 'string', 'required' => false, 'example' => 'value1'], ], 'required' => false, + 'description' => '', ], 'required' => false, 'maxItems' => 20, @@ -11650,181 +7215,95 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], 'Result' => [ - 'description' => '组织列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '域名', - 'type' => 'string', - 'example' => 'domain', - ], - 'PeerCount' => [ - 'description' => '节点数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ConsortiumCount' => [ - 'description' => '联盟数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'SpecName' => [ - 'description' => '规格名', - 'type' => 'string', - 'example' => 'basic、', - ], - 'OwnerName' => [ - 'description' => '创建者', - 'type' => 'string', - 'example' => 'name', - ], - 'OwnerUid' => [ - 'description' => '创建者用户ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1232', - ], - 'OwnerBid' => [ - 'description' => '创建者业务ID', - 'type' => 'string', - 'example' => 'bid', - ], - 'CodeName' => [ - 'description' => '域名前缀', - 'type' => 'string', - 'example' => 'name', - ], - 'OrganizationDescription' => [ - 'description' => '组织描述', - 'type' => 'string', - 'example' => 'desc', - ], - 'RegionId' => [ - 'description' => '地域', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'ZoneId' => [ - 'description' => '可用区', - 'type' => 'string', - 'example' => 'zone', - ], - 'UserCount' => [ - 'description' => '用户数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'OrganizationName' => [ - 'description' => '组织名', - 'type' => 'string', - 'example' => 'name', - ], - 'MajorVersion' => [ - 'type' => 'string', - ], - 'Tags' => [ - 'description' => '标签列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '标签键', - 'type' => 'string', - 'example' => 'BlockChainOwner', - ], - 'Value' => [ - 'description' => '标签值', - 'type' => 'string', - 'example' => 'DepartmentA', - ], - ], + 'description' => '组织的详细列表', + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => '域名', 'type' => 'string', 'example' => 'org1.alibabacloudbaas.com'], + 'PeerCount' => ['description' => 'Peer节点数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Running'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1533025590'], + 'ConsortiumCount' => ['description' => '联盟数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'SpecName' => ['description' => '规格名', 'type' => 'string', 'example' => 'basic'], + 'OwnerName' => ['description' => '创建者', 'type' => 'string', 'example' => 'uid-23434'], + 'OwnerUid' => ['description' => '创建者Uid', 'type' => 'integer', 'format' => 'int64', 'example' => '23434'], + 'OwnerBid' => ['description' => '创建者Bid', 'type' => 'string', 'example' => '2544'], + 'CodeName' => ['description' => '域名前缀', 'type' => 'string', 'example' => 'org1'], + 'OrganizationDescription' => ['description' => '组织描述', 'type' => 'string', 'example' => 'This is org1'], + 'RegionId' => ['description' => '地域', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], + 'MSP' => ['description' => '成员服务提供者', 'type' => 'string', 'example' => 'org1MSP'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'CAUrl' => ['description' => '组织CA节点地址', 'type' => 'string', 'example' => 'https://ca1.org1.alibabacloudbaas.com:31154'], + 'CANAME' => ['description' => '组织CA节点名称', 'type' => 'string', 'example' => 'client'], + 'ZoneId' => ['description' => '可用区', 'type' => 'string', 'example' => 'cn-hangzhou-1a'], + 'UserCount' => ['description' => '用户数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'OrganizationName' => ['description' => '组织名称', 'type' => 'string', 'example' => 'org1'], + 'Tags' => [ + 'description' => '标签列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '标签键', 'type' => 'string', 'example' => 'BlockChainOwner'], + 'Value' => ['description' => '标签值', 'type' => 'string', 'example' => 'DepartmentA'], ], + 'description' => '', ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ErrorCode\\": 200,\\n \\"Success\\": true,\\n \\"Result\\": [\\n {\\n \\"Domain\\": \\"domain\\",\\n \\"PeerCount\\": 3,\\n \\"State\\": \\"Running\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"ConsortiumCount\\": 2,\\n \\"SpecName\\": \\"basic、\\",\\n \\"OwnerName\\": \\"name\\",\\n \\"OwnerUid\\": 1232,\\n \\"OwnerBid\\": \\"bid\\",\\n \\"CodeName\\": \\"name\\",\\n \\"OrganizationDescription\\": \\"desc\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ZoneId\\": \\"zone\\",\\n \\"UserCount\\": 10,\\n \\"OrganizationName\\": \\"name\\",\\n \\"MajorVersion\\": \\"\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"BlockChainOwner\\",\\n \\"Value\\": \\"DepartmentA\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationsResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ErrorCode>200</ErrorCode>\\n <Success>true</Success>\\n <Result>\\n <Domain>domain</Domain>\\n <PeerCount>3</PeerCount>\\n <State>Running</State>\\n <CreateTime>1533025590</CreateTime>\\n <ConsortiumCount>2</ConsortiumCount>\\n <SpecName>basic、</SpecName>\\n <OwnerName>name</OwnerName>\\n <OwnerUid>1232</OwnerUid>\\n <OwnerBid>bid</OwnerBid>\\n <CodeName>name</CodeName>\\n <OrganizationDescription>desc</OrganizationDescription>\\n <RegionId>cn-hangzhou</RegionId>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w9dt3</OrganizationId>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ZoneId>zone</ZoneId>\\n <UserCount>10</UserCount>\\n <OrganizationName>name</OrganizationName>\\n <Tags>\\n <Key>BlockChainOwner</Key>\\n <Value>DepartmentA</Value>\\n </Tags>\\n </Result>\\n</DescribeFabricOrganizationsResponse>","errorExample":""}]', - 'title' => 'DescribeFabricOrganizations', - 'summary' => '调用DescribeFabricOrganizations获取组织列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ErrorCode\\": 200,\\n \\"Success\\": true,\\n \\"Result\\": {\\n \\"Domain\\": \\"org1.alibabacloudbaas.com\\",\\n \\"PeerCount\\": 2,\\n \\"State\\": \\"Running\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"ConsortiumCount\\": 2,\\n \\"SpecName\\": \\"basic\\",\\n \\"OwnerName\\": \\"uid-23434\\",\\n \\"OwnerUid\\": 23434,\\n \\"OwnerBid\\": \\"2544\\",\\n \\"CodeName\\": \\"org1\\",\\n \\"OrganizationDescription\\": \\"This is org1\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"MSP\\": \\"org1MSP\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"CAUrl\\": \\"https://ca1.org1.alibabacloudbaas.com:31154\\",\\n \\"CANAME\\": \\"client\\",\\n \\"ZoneId\\": \\"cn-hangzhou-1a\\",\\n \\"UserCount\\": 2,\\n \\"OrganizationName\\": \\"org1\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"BlockChainOwner\\",\\n \\"Value\\": \\"DepartmentA\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ErrorCode>200</ErrorCode>\\n <Success>true</Success>\\n <Result>\\n <Domain>org1.alibabacloudbaas.com</Domain>\\n <PeerCount>2</PeerCount>\\n <State>Running</State>\\n <CreateTime>1533025590</CreateTime>\\n <ConsortiumCount>2</ConsortiumCount>\\n <SpecName>basic</SpecName>\\n <OwnerName>uid-23434</OwnerName>\\n <OwnerUid>23434</OwnerUid>\\n <OwnerBid>2544</OwnerBid>\\n <CodeName>org1</CodeName>\\n <OrganizationDescription>This is org1</OrganizationDescription>\\n <RegionId>cn-hangzhou</RegionId>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w9dt3</OrganizationId>\\n <MSP>org1MSP</MSP>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <CAUrl>https://ca1.org1.alibabacloudbaas.com:31154</CAUrl>\\n <CANAME>client</CANAME>\\n <ZoneId>cn-hangzhou-1a</ZoneId>\\n <UserCount>2</UserCount>\\n <OrganizationName>org1</OrganizationName>\\n <Tags>\\n <Key>BlockChainOwner</Key>\\n <Value>DepartmentA</Value>\\n </Tags>\\n </Result>\\n</DescribeFabricOrganizationResponse>","errorExample":""}]', + 'title' => 'DescribeFabricOrganization', + 'summary' => '调用DescribeFabricOrganization获取一个组织的详情。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeFabricCandidateOrganizations' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeFabricOrganizationChaincodePackage' => [ + 'summary' => '获取组织内2.0链码包信息。', + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Location', + 'name' => 'OrganizationId', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], ], ], 'responses' => [ @@ -11832,93 +7311,62 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Message' => ['description' => '信息', 'type' => 'string', 'example' => 'ok'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ 'description' => '结果', 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ServiceState' => [ - 'description' => '服务状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'OrganizationName' => [ - 'description' => '组织名', - 'type' => 'string', - 'example' => 'org1', - ], - 'ClusterState' => [ - 'description' => '集群状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'example' => 'peers-1oxw31d04****', - ], - ], - ], + 'items' => ['description' => '链码包信息', '$ref' => '#/components/schemas/ChaincodePackage'], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"ServiceState\\": \\"Running\\",\\n \\"OrganizationName\\": \\"org1\\",\\n \\"ClusterState\\": \\"Running\\",\\n \\"OrganizationId\\": \\"peers-1oxw31d04****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricCandidateOrganizationsResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <ServiceState>Running</ServiceState>\\n <OrganizationName>org1</OrganizationName>\\n <ClusterState>Running</ClusterState>\\n <OrganizationId>peers-1oxw31d04****</OrganizationId>\\n </Result>\\n</DescribeFabricCandidateOrganizationsResponse>","errorExample":""}]', - 'title' => '查询接收邀请的候选组织', - 'summary' => '调用DescribeFabricCandidateOrganizations查询接收邀请的候选组织。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeFabricChaincodeUploadPolicy' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"ok\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"Label\\": \\"label\\",\\n \\"Checksum\\": \\"15bab12c29edbc095c33545b9867aec9be469c74a6dd5783df6ee74a24334c77\\",\\n \\"ChaincodePackageId\\": \\"cmcc-1.5:227c3cd472a8a2fcaa1c63f15812a1894348a985dc723006dd47d9f2848d10ed\\",\\n \\"Md5sum\\": \\"N02eVKuRJDA2ODtieMUxVw==\\",\\n \\"ProviderUid\\": \\"1313158505072210\\",\\n \\"ProviderBid\\": \\"26842\\",\\n \\"Type\\": 0,\\n \\"TypeName\\": \\"golang\\",\\n \\"UploadTime\\": \\"1533025590\\",\\n \\"InstallTime\\": \\"1533025590\\",\\n \\"State\\": \\"Running\\",\\n \\"OssURL\\": \\"hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz\\",\\n \\"DeleteTime\\": \\"1533025590\\",\\n \\"Deleted\\": false,\\n \\"Message\\": \\"ok\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationChaincodePackageResponse>\\n <Message>ok</Message>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w9dt3</OrganizationId>\\n <Label>label</Label>\\n <Checksum>15bab12c29edbc095c33545b9867aec9be469c74a6dd5783df6ee74a24334c77</Checksum>\\n <ChaincodePackageId>cmcc-1.5:227c3cd472a8a2fcaa1c63f15812a1894348a985dc723006dd47d9f2848d10ed</ChaincodePackageId>\\n <Md5sum>N02eVKuRJDA2ODtieMUxVw==</Md5sum>\\n <ProviderUid>1313158505072210</ProviderUid>\\n <ProviderBid>26842</ProviderBid>\\n <Type>0</Type>\\n <TypeName>golang</TypeName>\\n <UploadTime>1533025590</UploadTime>\\n <InstallTime>1533025590</InstallTime>\\n <State>Running</State>\\n <OssURL>hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz</OssURL>\\n <DeleteTime>1533025590</DeleteTime>\\n <Deleted>false</Deleted>\\n <Message>ok</Message>\\n </Result>\\n</DescribeFabricOrganizationChaincodePackageResponse>","errorExample":""}]', + 'title' => '获取组织内链码包信息', + 'changeSet' => [ + ['createdAt' => '2022-02-28T10:34:55.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationChaincodePackage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeFabricOrganizationChaincodes' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrganizationId', 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa1-1oxw31d04****', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****'], + ], + [ + 'name' => 'Location', + 'in' => 'formData', + 'schema' => ['description' => '位置信息', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -11926,110 +7374,91 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '结果', - 'type' => 'object', - 'properties' => [ - 'Signature' => [ - 'description' => 'OSS签名', - 'type' => 'string', - 'example' => 'signature', - ], - 'Host' => [ - 'description' => 'OSS域名', - 'type' => 'string', - 'example' => 'https://chaincode.oss-cn-beijing.aliyuncs.com', - ], - 'Policy' => [ - 'description' => 'OSS安全策略', - 'type' => 'string', - 'example' => 'eyJleHBpcmF0aW9uIjoiMjAxOC0wNy0zMVQwODoyNjozMC40NzdaIiwiY29uZGl', - ], - 'Dir' => [ - 'description' => '上传目录', - 'type' => 'string', - 'example' => 'test3/4bd1de21-2fff-4405-a8e9-f864c4bee24f', - ], - 'AccessId' => [ - 'description' => '访问OSS的ID', - 'type' => 'string', - 'example' => 'accessId', - ], - 'Expire' => [ - 'description' => '过期时间', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1533025590', + 'description' => '组织的链码列表', + 'type' => 'array', + 'items' => [ + 'description' => '结果数据', + 'type' => 'object', + 'properties' => [ + 'EndorsePolicy' => ['description' => '背书策略', 'type' => 'string', 'example' => 'OR ('perf9141MSP.member')'], + 'State' => ['description' => '状态。取值:'."\n" + ."\n" + .'- **CHECKING**'."\n" + .'- **ERROR**'."\n" + .'- **INSTALLABLE**'."\n" + .'- **INSTALLED**'."\n" + .'- **RUNNING**'."\n" + .'- **UPGRADABLE**', 'type' => 'string', 'example' => 'RUNNING'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1533025590'], + 'ChaincodeId' => ['description' => '链码ID', 'type' => 'string', 'example' => 'code-sacc-1pr09q7jmo0np'], + 'Message' => ['description' => '消息', 'type' => 'string', 'example' => 'OK'], + 'ChaincodeName' => ['description' => '链码名', 'type' => 'string', 'example' => 'mycc'], + 'Installed' => ['description' => '是否安装', 'type' => 'string', 'example' => 'Installed'], + 'Creator' => ['description' => '创建者', 'type' => 'string', 'example' => 'uid-23425'], + 'DeployTime' => ['description' => '部署时间', 'type' => 'string', 'example' => '1533025590'], + 'ChaincodeVersion' => ['description' => '链码版本', 'type' => 'string', 'example' => '0.3'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7'], + 'ChannelName' => ['description' => '通道名', 'type' => 'string', 'example' => 'first-channel'], + 'ChannelId' => ['description' => '通道ID', 'type' => 'string', 'example' => 'chan-first-channel-31hlgpen5k5lig'], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Signature\\": \\"signature\\",\\n \\"Host\\": \\"https://chaincode.oss-cn-beijing.aliyuncs.com\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAxOC0wNy0zMVQwODoyNjozMC40NzdaIiwiY29uZGl\\",\\n \\"Dir\\": \\"test3/4bd1de21-2fff-4405-a8e9-f864c4bee24f\\",\\n \\"AccessId\\": \\"accessId\\",\\n \\"Expire\\": 1533025590\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricChaincodeUploadPolicyResponse>\\r\\n\\t<Result>\\r\\n\\t\\t<Dir>t/4bd1de21-2fff-4</Dir>\\r\\n\\t\\t<Host>https://oss.aliyuncs.com</Host>\\r\\n\\t\\t<Policy>eyJleHBpcmF0aW9uIjoiMjAxOC0wNy0zMVQwODoyNjozMC40NzdaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJ0ZXN0My80YmQxZGUyMS0yZmZmLTQ0MDUtYThlOS1mODY0YzRiZWUyNGYiXV19</Policy>\\r\\n\\t\\t<Expire>1533025590</Expire>\\r\\n\\t\\t<AccessId>accessId</AccessId>\\r\\n\\t\\t<Signature>klI/signature=</Signature>\\r\\n\\t</Result>\\r\\n\\t<RequestId>540BFE13-BDE5-40B9-BCDD-F2E24B6D064F</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</DescribeFabricChaincodeUploadPolicyResponse>","errorExample":""}]', - 'title' => '获取上传链码策略', - 'summary' => '调用DescribeFabricChaincodeUploadPolicy获取上传链码策略。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"EndorsePolicy\\": \\"OR ('perf9141MSP.member')\\",\\n \\"State\\": \\"RUNNING\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"ChaincodeId\\": \\"code-sacc-1pr09q7jmo0np\\",\\n \\"Message\\": \\"OK\\",\\n \\"ChaincodeName\\": \\"mycc\\",\\n \\"Installed\\": \\"Installed\\",\\n \\"Creator\\": \\"uid-23425\\",\\n \\"DeployTime\\": \\"1533025590\\",\\n \\"ChaincodeVersion\\": \\"0.3\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwlulg7\\",\\n \\"ChannelName\\": \\"first-channel\\",\\n \\"ChannelId\\": \\"chan-first-channel-31hlgpen5k5lig\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationChaincodesResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <EndorsePolicy>OR (&#39;perf9141MSP.member&#39;)</EndorsePolicy>\\n <State>RUNNING</State>\\n <CreateTime>1533025590</CreateTime>\\n <ChaincodeId>code-sacc-1pr09q7jmo0np</ChaincodeId>\\n <Message>OK</Message>\\n <ChaincodeName>mycc</ChaincodeName>\\n <Installed>Installed</Installed>\\n <Creator>uid-23425</Creator>\\n <DeployTime>1533025590</DeployTime>\\n <ChaincodeVersion>0.3</ChaincodeVersion>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwlulg7</ConsortiumId>\\n <ChannelName>first-channel</ChannelName>\\n <ChannelId>chan-first-channel-31hlgpen5k5lig</ChannelId>\\n </Result>\\n</DescribeFabricOrganizationChaincodesResponse>","errorExample":""}]', + 'title' => '获取组织的链码列表', + 'summary' => '调用DescribeFabricOrganizationChaincodes获取组织的链码列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeFabricOrganizationChaincodes' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationChaincodes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeFabricOrganizationChannels' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrganizationId', - 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w****', - ], + 'in' => 'query', + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5****'], ], [ 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => '位置信息', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -12037,154 +7466,89 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '组织的链码列表', + 'description' => '组织加入的通道列表', 'type' => 'array', 'items' => [ - 'description' => '结果数据', 'type' => 'object', 'properties' => [ - 'EndorsePolicy' => [ - 'description' => '背书策略', - 'type' => 'string', - 'example' => 'OR ('perf9141MSP.member')', - ], - 'State' => [ - 'description' => '状态。取值:'."\n" - ."\n" - .'- **CHECKING**'."\n" - .'- **ERROR**'."\n" - .'- **INSTALLABLE**'."\n" - .'- **INSTALLED**'."\n" - .'- **RUNNING**'."\n" - .'- **UPGRADABLE**', - 'type' => 'string', - 'example' => 'RUNNING', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ChaincodeId' => [ - 'description' => '链码ID', - 'type' => 'string', - 'example' => 'code-sacc-1pr09q7jmo0np', - ], - 'Message' => [ - 'description' => '消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ChaincodeName' => [ - 'description' => '链码名', - 'type' => 'string', - 'example' => 'mycc', - ], - 'Installed' => [ - 'description' => '是否安装', - 'type' => 'string', - 'example' => 'Installed', - ], - 'Creator' => [ - 'description' => '创建者', - 'type' => 'string', - 'example' => 'uid-23425', - ], - 'DeployTime' => [ - 'description' => '部署时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ChaincodeVersion' => [ - 'description' => '链码版本', - 'type' => 'string', - 'example' => '0.3', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', - ], - 'ChannelName' => [ - 'description' => '通道名', - 'type' => 'string', - 'example' => 'first-channel', - ], - 'ChannelId' => [ - 'description' => '通道ID', - 'type' => 'string', - 'example' => 'chan-first-channel-31hlgpen5k5lig', - ], - ], + 'BatchTimeout' => ['description' => '批处理超时时间,单位秒', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'UpdateTime' => ['description' => '更新时间', 'type' => 'string', 'example' => '1533025590'], + 'ChaincodeCount' => ['description' => '链码数量', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'PreferredMaxBytes' => ['description' => '首选最大字节数', 'type' => 'integer', 'format' => 'int32', 'example' => '24'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Running'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1533025590'], + 'SupportChannelConfig' => ['description' => '是否支持自定义配置参数', 'type' => 'boolean', 'example' => 'true'], + 'OwnerName' => ['description' => '创建者', 'type' => 'string', 'example' => 'uid-116748157028****'], + 'OwnerUid' => ['description' => '创建者Uid', 'type' => 'integer', 'format' => 'int64', 'example' => '116748157028****'], + 'OwnerBid' => ['description' => '创建者Bid', 'type' => 'string', 'example' => '26842'], + 'MaxMessageCount' => ['description' => '块包含最大消息条目', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'MemberCount' => ['description' => '成员数量', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-perf914-37cfcff9pa****'], + 'ChannelName' => ['description' => '通道名', 'type' => 'string', 'example' => 'mychannel'], + 'DeleteTime' => ['description' => '删除时间', 'type' => 'string', 'example' => '1533025590'], + 'ChannelId' => ['description' => '通道ID', 'type' => 'string', 'example' => 'chan-first-channel-31hlgpen5k****'], + 'Deleted' => ['description' => '是否已经删除', 'type' => 'boolean', 'example' => 'true'], + 'ConsortiumName' => ['description' => '联盟名称', 'type' => 'string', 'example' => 'name'], + 'BlockCount' => ['description' => '块数量', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"EndorsePolicy\\": \\"OR ('perf9141MSP.member')\\",\\n \\"State\\": \\"RUNNING\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"ChaincodeId\\": \\"code-sacc-1pr09q7jmo0np\\",\\n \\"Message\\": \\"OK\\",\\n \\"ChaincodeName\\": \\"mycc\\",\\n \\"Installed\\": \\"Installed\\",\\n \\"Creator\\": \\"uid-23425\\",\\n \\"DeployTime\\": \\"1533025590\\",\\n \\"ChaincodeVersion\\": \\"0.3\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwlulg7\\",\\n \\"ChannelName\\": \\"first-channel\\",\\n \\"ChannelId\\": \\"chan-first-channel-31hlgpen5k5lig\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationChaincodesResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <EndorsePolicy>OR (&#39;perf9141MSP.member&#39;)</EndorsePolicy>\\n <State>RUNNING</State>\\n <CreateTime>1533025590</CreateTime>\\n <ChaincodeId>code-sacc-1pr09q7jmo0np</ChaincodeId>\\n <Message>OK</Message>\\n <ChaincodeName>mycc</ChaincodeName>\\n <Installed>Installed</Installed>\\n <Creator>uid-23425</Creator>\\n <DeployTime>1533025590</DeployTime>\\n <ChaincodeVersion>0.3</ChaincodeVersion>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwlulg7</ConsortiumId>\\n <ChannelName>first-channel</ChannelName>\\n <ChannelId>chan-first-channel-31hlgpen5k5lig</ChannelId>\\n </Result>\\n</DescribeFabricOrganizationChaincodesResponse>","errorExample":""}]', - 'title' => '获取组织的链码列表', - 'summary' => '调用DescribeFabricOrganizationChaincodes获取组织的链码列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"BatchTimeout\\": 2,\\n \\"UpdateTime\\": \\"1533025590\\",\\n \\"ChaincodeCount\\": 2,\\n \\"PreferredMaxBytes\\": 24,\\n \\"State\\": \\"Running\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"SupportChannelConfig\\": true,\\n \\"OwnerName\\": \\"uid-116748157028****\\",\\n \\"OwnerUid\\": 0,\\n \\"OwnerBid\\": \\"26842\\",\\n \\"MaxMessageCount\\": 12,\\n \\"MemberCount\\": 3,\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ConsortiumId\\": \\"consortium-perf914-37cfcff9pa****\\",\\n \\"ChannelName\\": \\"mychannel\\",\\n \\"DeleteTime\\": \\"1533025590\\",\\n \\"ChannelId\\": \\"chan-first-channel-31hlgpen5k****\\",\\n \\"Deleted\\": true,\\n \\"ConsortiumName\\": \\"name\\",\\n \\"BlockCount\\": 3\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationChannelsResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <BatchTimeout>2</BatchTimeout>\\n <UpdateTime>1533025590</UpdateTime>\\n <ChaincodeCount>2</ChaincodeCount>\\n <PreferredMaxBytes>24</PreferredMaxBytes>\\n <State>Running</State>\\n <CreateTime>1533025590</CreateTime>\\n <SupportChannelConfig>true</SupportChannelConfig>\\n <OwnerName>uid-116748157028****</OwnerName>\\n <OwnerBid>26842</OwnerBid>\\n <MaxMessageCount>12</MaxMessageCount>\\n <MemberCount>3</MemberCount>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ConsortiumId>consortium-perf914-37cfcff9pa****</ConsortiumId>\\n <ChannelName>mychannel</ChannelName>\\n <DeleteTime>1533025590</DeleteTime>\\n <ChannelId>chan-first-channel-31hlgpen5k****</ChannelId>\\n <Deleted>true</Deleted>\\n <ConsortiumName>name</ConsortiumName>\\n <BlockCount>3</BlockCount>\\n </Result>\\n</DescribeFabricOrganizationChannelsResponse>","errorExample":""}]', + 'title' => '获取该组织加入的通道列表', + 'summary' => '调用DescribeFabricOrganizationChannels获取该组织加入的通道列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeFabricConsortiumMembers' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationChannels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeFabricOrganizationDeletable' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ConsortiumId', - 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', - ], + 'name' => 'OrganizationId', + 'in' => 'query', + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****'], ], [ 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '位置信息', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -12192,100 +7556,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '联盟的组织信息', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '域名', - 'type' => 'string', - 'example' => 'domain', - ], - 'Description' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => 'description', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', - ], - 'OrganizationName' => [ - 'description' => '组织名', - 'type' => 'string', - 'example' => 'name', - ], - 'JoinedTime' => [ - 'description' => '加入联盟的时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], - ], + 'description' => '结果', + 'type' => 'object', + 'properties' => [ + 'Deletable' => ['description' => '是否可删除', 'type' => 'boolean', 'example' => 'true'], + 'Domain' => ['description' => '域名', 'type' => 'string', 'example' => 'domain'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Running'], + 'ZoneId' => ['description' => '可用区', 'type' => 'string', 'example' => 'zone'], + 'OrganizationName' => ['description' => '组织名', 'type' => 'string', 'example' => 'orgname'], + 'CodeName' => ['description' => '域名前缀', 'type' => 'string', 'example' => 'name'], + 'OrganizationDescription' => ['description' => '组织描述', 'type' => 'string', 'example' => 'desc'], + 'RegionId' => ['description' => '地域', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w****'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Domain\\": \\"domain\\",\\n \\"Description\\": \\"description\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwlulg7\\",\\n \\"OrganizationName\\": \\"name\\",\\n \\"JoinedTime\\": \\"1544411108000\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumMembersResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Domain>domain</Domain>\\n <Description>description</Description>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwlulg7</ConsortiumId>\\n <OrganizationName>name</OrganizationName>\\n <JoinedTime>1544411108000</JoinedTime>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w9dt3</OrganizationId>\\n </Result>\\n</DescribeFabricConsortiumMembersResponse>","errorExample":""}]', - 'title' => '获取联盟的组织信息', - 'summary' => '调用DescribeFabricConsortiumMembers获取联盟的组织信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Deletable\\": true,\\n \\"Domain\\": \\"domain\\",\\n \\"State\\": \\"Running\\",\\n \\"ZoneId\\": \\"zone\\",\\n \\"OrganizationName\\": \\"orgname\\",\\n \\"CodeName\\": \\"name\\",\\n \\"OrganizationDescription\\": \\"desc\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationDeletableResponse>\\r\\n\\t<Result>\\r\\n\\t\\t<Deletable>true</Deletable>\\r\\n\\t\\t<OrganizationId>consortium-xxxxxx</OrganizationId>\\r\\n\\t\\t<CodeName>name</CodeName>\\r\\n\\t\\t<Domain>domain</Domain>\\r\\n\\t\\t<OrganizationDescription>desc</OrganizationDescription>\\r\\n\\t\\t<OrganizationName>orgname</OrganizationName>\\r\\n\\t\\t<RegionId>cn-hangzhou</RegionId>\\r\\n\\t\\t<State>Running</State>\\r\\n\\t\\t<ZoneId>zone</ZoneId>\\r\\n\\t</Result>\\r\\n\\t<RequestId>C445762C-8909-4BD8-A2BD-BB45BF2441D8</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</DescribeFabricOrganizationDeletableResponse>","errorExample":""}]', + 'title' => '查询组织是否可删除', + 'summary' => '调用DescribeFabricOrganizationDeletable查询组织是否可删除。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeFabricConsortiumAdminStatus' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationDeletable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeFabricOrganizationMembers' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ + 'name' => 'OrganizationId', + 'in' => 'formData', + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****'], + ], + [ 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '位置信息', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -12293,91 +7631,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '联盟管理状态信息', + 'description' => '结果', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', - ], - 'ConsortiumAdministrator' => [ - 'description' => '是否为盟主', - 'type' => 'boolean', - 'example' => 'true', - ], - ], + 'Domain' => ['description' => 'domain', 'type' => 'string', 'example' => 'domain'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => 'description'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Running'], + 'OrganizationName' => ['description' => '组织名称', 'type' => 'string', 'example' => 'name'], + 'JoinedTime' => ['description' => '加入联盟的时间', 'type' => 'string', 'example' => '1533025590'], + 'ConsortiumName' => ['description' => '联盟名称', 'type' => 'string', 'example' => 'name'], + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w****'], + ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwlulg7\\",\\n \\"ConsortiumAdministrator\\": true\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumAdminStatusResponse>\\r\\n\\t<Result>\\r\\n\\t\\t<ConsortiumId>10000</ConsortiumId>\\r\\n\\t\\t<ConsortiumAdministrator>true</ConsortiumAdministrator>\\r\\n\\t</Result>\\r\\n\\t<Result>\\r\\n\\t\\t<ConsortiumId>10001</ConsortiumId>\\r\\n\\t\\t<ConsortiumAdministrator>false</ConsortiumAdministrator>\\r\\n\\t</Result>\\r\\n\\t<RequestId>3E85A941-658C-40E8-9704-60513A0281CF</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</DescribeFabricConsortiumAdminStatusResponse>","errorExample":""}]', - 'title' => '获取联盟管理状态信息', - 'summary' => '调用DescribeFabricConsortiumAdminStatus获取联盟管理状态信息。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeFabricOrganizationPeers' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Domain\\": \\"domain\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwl****\\",\\n \\"Description\\": \\"description\\",\\n \\"State\\": \\"Running\\",\\n \\"OrganizationName\\": \\"name\\",\\n \\"JoinedTime\\": \\"1533025590\\",\\n \\"ConsortiumName\\": \\"name\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationMembersResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Domain>domain</Domain>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>\\n <Description>description</Description>\\n <State>Running</State>\\n <OrganizationName>name</OrganizationName>\\n <JoinedTime>1533025590</JoinedTime>\\n <ConsortiumName>name</ConsortiumName>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w****</OrganizationId>\\n </Result>\\n</DescribeFabricOrganizationMembersResponse>","errorExample":""}]', + 'title' => '获取该组织所加入的联盟与联盟成员', + 'summary' => '调用DescribeFabricOrganizationMembers获取该组织所加入的联盟与联盟成员。', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeFabricOrganizationPeers' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrganizationId', 'in' => 'query', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w****', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****'], ], [ 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -12385,244 +7706,134 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ 'type' => 'array', 'items' => [ 'description' => '组织的节点列表', 'type' => 'object', 'properties' => [ - 'UpdateTime' => [ - 'description' => '更新时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'Domain' => [ - 'description' => '域名', - 'type' => 'string', - 'example' => 'domain', - ], - 'InternetIp' => [ - 'description' => '公网IP', - 'type' => 'string', - 'example' => '10.0.0.2', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'IsAnchor' => [ - 'description' => '是否是AnchorPeer', - 'type' => 'boolean', - 'example' => 'false', - ], - 'InstanceType' => [ - 'description' => '实例类型', - 'type' => 'string', - 'example' => 'basic', - ], - 'Port' => [ - 'description' => '端口', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1234', - ], - 'OrganizationPeerName' => [ - 'description' => '组织的节点名', - 'type' => 'string', - 'example' => 'name', - ], - 'IntranetIp' => [ - 'description' => '内网IP', - 'type' => 'string', - 'example' => '10.0.0.2', - ], + 'UpdateTime' => ['description' => '更新时间', 'type' => 'string', 'example' => '1533025590'], + 'Domain' => ['description' => '域名', 'type' => 'string', 'example' => 'domain'], + 'InternetIp' => ['description' => '公网IP', 'type' => 'string', 'example' => '10.0.0.2'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1533025590'], + 'IsAnchor' => ['description' => '是否是AnchorPeer', 'type' => 'boolean', 'example' => 'false'], + 'InstanceType' => ['description' => '实例类型', 'type' => 'string', 'example' => 'basic'], + 'Port' => ['description' => '端口', 'type' => 'integer', 'format' => 'int32', 'example' => '1234'], + 'OrganizationPeerName' => ['description' => '组织的节点名', 'type' => 'string', 'example' => 'name'], + 'IntranetIp' => ['description' => '内网IP', 'type' => 'string', 'example' => '10.0.0.2'], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"UpdateTime\\": \\"1533025590\\",\\n \\"Domain\\": \\"domain\\",\\n \\"InternetIp\\": \\"10.0.0.2\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"IsAnchor\\": false,\\n \\"InstanceType\\": \\"basic\\",\\n \\"Port\\": 1234,\\n \\"OrganizationPeerName\\": \\"name\\",\\n \\"IntranetIp\\": \\"10.0.0.2\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationPeersResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <UpdateTime>1533025590</UpdateTime>\\n <Domain>domain</Domain>\\n <InternetIp>10.0.0.2</InternetIp>\\n <CreateTime>1533025590</CreateTime>\\n <IsAnchor>false</IsAnchor>\\n <InstanceType>basic</InstanceType>\\n <Port>1234</Port>\\n <OrganizationPeerName>name</OrganizationPeerName>\\n <IntranetIp>10.0.0.2</IntranetIp>\\n </Result>\\n</DescribeFabricOrganizationPeersResponse>","errorExample":""}]', 'title' => '获取组织的节点列表', 'summary' => '调用DescribeFabricOrganizationPeers获取组织的节点列表。', - ], - 'DescribeFabricConsortiumMemberApproval' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'ConsortiumId', - 'in' => 'query', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationPeers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeFabricOrganizationSpecs' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Location', - 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'AK' => [], ], ], + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ 'type' => 'array', 'items' => [ + 'description' => '组织的规格列表', 'type' => 'object', 'properties' => [ - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'ChannelCreatePolicy' => [ - 'description' => '通道创建策略', - 'type' => 'string', - 'example' => 'Any', - ], - 'ConfirmTime' => [ - 'description' => '确认时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'OrganizationName' => [ - 'description' => '组织名称', - 'type' => 'string', - 'example' => 'orgname', - ], - 'ConsortiumName' => [ - 'description' => '联盟名称', - 'type' => 'string', - 'example' => 'name', - ], - 'DomainName' => [ - 'description' => '域名', - 'type' => 'string', - 'example' => 'domain', - ], - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'example' => 'peers-aaaaaa2-1eqnj5o5w****', - ], + 'Title' => ['description' => '标题', 'type' => 'string', 'example' => '基础版'], + 'OrganizationSpecsName' => ['description' => '规格名', 'type' => 'string', 'example' => 'basic'], + 'Enable' => ['description' => '是否启用', 'type' => 'boolean', 'example' => 'true'], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwl****\\",\\n \\"State\\": \\"Running\\",\\n \\"ChannelCreatePolicy\\": \\"Any\\",\\n \\"ConfirmTime\\": \\"1544411108000\\",\\n \\"OrganizationName\\": \\"orgname\\",\\n \\"ConsortiumName\\": \\"name\\",\\n \\"DomainName\\": \\"domain\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumMemberApprovalResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>\\n <State>Running</State>\\n <ChannelCreatePolicy>Any</ChannelCreatePolicy>\\n <ConfirmTime>1544411108000</ConfirmTime>\\n <OrganizationName>orgname</OrganizationName>\\n <ConsortiumName>name</ConsortiumName>\\n <DomainName>domain</DomainName>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w****</OrganizationId>\\n </Result>\\n</DescribeFabricConsortiumMemberApprovalResponse>","errorExample":""}]', - 'title' => '获取联盟成员的审批状态列表', - 'summary' => '调用DescribeFabricConsortiumMemberApproval获取联盟成员的审批状态列表。', - ], - 'DescribeFabricOrganizationDeletable' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Title\\": \\"基础版\\",\\n \\"OrganizationSpecsName\\": \\"basic\\",\\n \\"Enable\\": true\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationSpecsResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Title>基础版</Title>\\n <OrganizationSpecsName>basic</OrganizationSpecsName>\\n <Enable>true</Enable>\\n </Result>\\n</DescribeFabricOrganizationSpecsResponse>","errorExample":""}]', + 'title' => '查询组织的规格列表', + 'summary' => '调用DescribeFabricOrganizationSpecs查询组织的规格列表。', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationSpecs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeFabricOrganizationUsers' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrganizationId', 'in' => 'query', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w****', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****'], ], [ 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => '位置信息', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -12630,94 +7841,62 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '结果', - 'type' => 'object', - 'properties' => [ - 'Deletable' => [ - 'description' => '是否可删除', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Domain' => [ - 'description' => '域名', - 'type' => 'string', - 'example' => 'domain', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'ZoneId' => [ - 'description' => '可用区', - 'type' => 'string', - 'example' => 'zone', - ], - 'OrganizationName' => [ - 'description' => '组织名', - 'type' => 'string', - 'example' => 'orgname', - ], - 'CodeName' => [ - 'description' => '域名前缀', - 'type' => 'string', - 'example' => 'name', - ], - 'OrganizationDescription' => [ - 'description' => '组织描述', - 'type' => 'string', - 'example' => 'desc', - ], - 'RegionId' => [ - 'description' => '地域', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'example' => 'peers-aaaaaa2-1eqnj5o5w****', - ], + 'description' => '组织的用户列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ExpireTime' => ['description' => '过期时间', 'type' => 'string', 'example' => '1533025590'], + 'Attrs' => ['description' => 'ABAC属性', 'type' => 'string', 'example' => 'foo=foo1,bar=bar1'], + 'CallerBid' => ['description' => '调用者业务ID', 'type' => 'string', 'example' => '26842'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1533025590'], + 'FullName' => ['description' => '全名', 'type' => 'string', 'example' => 'name'], + 'CallerUid' => ['description' => '调用者用户ID', 'type' => 'integer', 'format' => 'int64', 'example' => '84927598****'], + 'Username' => ['description' => '用户名', 'type' => 'string', 'example' => 'username'], + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], + 'RegionId' => ['description' => '地域ID', 'type' => 'string', 'example' => 'cn-hangzhou'], + ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Deletable\\": true,\\n \\"Domain\\": \\"domain\\",\\n \\"State\\": \\"Running\\",\\n \\"ZoneId\\": \\"zone\\",\\n \\"OrganizationName\\": \\"orgname\\",\\n \\"CodeName\\": \\"name\\",\\n \\"OrganizationDescription\\": \\"desc\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationDeletableResponse>\\r\\n\\t<Result>\\r\\n\\t\\t<Deletable>true</Deletable>\\r\\n\\t\\t<OrganizationId>consortium-xxxxxx</OrganizationId>\\r\\n\\t\\t<CodeName>name</CodeName>\\r\\n\\t\\t<Domain>domain</Domain>\\r\\n\\t\\t<OrganizationDescription>desc</OrganizationDescription>\\r\\n\\t\\t<OrganizationName>orgname</OrganizationName>\\r\\n\\t\\t<RegionId>cn-hangzhou</RegionId>\\r\\n\\t\\t<State>Running</State>\\r\\n\\t\\t<ZoneId>zone</ZoneId>\\r\\n\\t</Result>\\r\\n\\t<RequestId>C445762C-8909-4BD8-A2BD-BB45BF2441D8</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</DescribeFabricOrganizationDeletableResponse>","errorExample":""}]', - 'title' => '查询组织是否可删除', - 'summary' => '调用DescribeFabricOrganizationDeletable查询组织是否可删除。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"ExpireTime\\": \\"1533025590\\",\\n \\"Attrs\\": \\"foo=foo1,bar=bar1\\",\\n \\"CallerBid\\": \\"26842\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"FullName\\": \\"name\\",\\n \\"CallerUid\\": 0,\\n \\"Username\\": \\"username\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationUsersResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <ExpireTime>1533025590</ExpireTime>\\n <Attrs>foo=foo1,bar=bar1</Attrs>\\n <CallerBid>26842</CallerBid>\\n <CreateTime>1533025590</CreateTime>\\n <FullName>name</FullName>\\n <Username>username</Username>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w9dt3</OrganizationId>\\n <RegionId>cn-hangzhou</RegionId>\\n </Result>\\n</DescribeFabricOrganizationUsersResponse>","errorExample":""}]', + 'title' => '获取组织的用户列表', + 'summary' => '调用DescribeFabricOrganizationUsers获取组织的用户列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeFabricConsortiums' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeFabricOrganizations' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12725,29 +7904,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ConsortiumId', - 'in' => 'query', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => false, - 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', - ], - ], - [ 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ 'name' => 'Tag', @@ -12759,20 +7921,11 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键', - 'type' => 'string', - 'required' => true, - 'example' => 'key1', - ], - 'Value' => [ - 'description' => '标签值', - 'type' => 'string', - 'required' => false, - 'example' => 'value1', - ], + 'Key' => ['description' => '标签键', 'type' => 'string', 'required' => true, 'example' => 'key1'], + 'Value' => ['description' => '标签值', 'type' => 'string', 'required' => false, 'example' => 'value1'], ], 'required' => false, + 'description' => '', ], 'required' => false, 'maxItems' => 20, @@ -12784,203 +7937,104 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], 'Result' => [ - 'description' => '联盟列表', + 'description' => '组织列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ChannelCount' => [ - 'description' => '通道数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'Domain' => [ - 'description' => '域名', - 'type' => 'string', - 'example' => 'domain', - ], - 'State' => [ - 'description' => '状态'."\n" - ."\n" - .'- Pending - 等待创建中'."\n" - .'- Initial - 创建中'."\n" - .'- Aborted - 创建失败'."\n" - .'- Created - 创建成功'."\n" - .'- Purging - 释放中'."\n" - .'- Damaged - 释放失败'."\n" - .'- Deleted - 已经释放'."\n" - .'- SpecChangPending - 等待规格变配中'."\n" - .'- SpecChanging - 规格变配中'."\n" - .'- Inactive - 暂停中'."\n" - .'- ServiceNotActivated - 云服务集成没有激活', - 'type' => 'string', - 'example' => 'Pending', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'SpecName' => [ - 'description' => '联盟节点规格', - 'type' => 'string', - 'example' => 'basic', - ], - 'SupportChannelConfig' => [ - 'description' => '是否支持自定义配置参数', - 'type' => 'boolean', - 'example' => 'true', - ], - 'OwnerName' => [ - 'description' => '创建者', - 'type' => 'string', - 'example' => 'uid-125566', - ], - 'OwnerUid' => [ - 'description' => '创建者用户ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12042815', - ], - 'OwnerBid' => [ - 'description' => '创建者业务ID', - 'type' => 'string', - 'example' => '26842', - ], - 'CodeName' => [ - 'description' => '域名前缀', - 'type' => 'string', - 'example' => 'code', - ], - 'RegionId' => [ - 'description' => '地域', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ChannelPolicy' => [ - 'description' => '通道创建策略', - 'type' => 'string', - 'example' => 'Any', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '3A929FAC-A82D-4EAB-A0FF-D867426D8B23', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', - ], - 'ExpiredTime' => [ - 'description' => '付费到期时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'OrganizationCount' => [ - 'description' => '组织数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ConsortiumName' => [ - 'description' => '联盟名', - 'type' => 'string', - 'example' => 'name', - ], - 'MajorVersion' => [ - 'type' => 'string', - ], + 'Domain' => ['description' => '域名', 'type' => 'string', 'example' => 'domain'], + 'PeerCount' => ['description' => '节点数', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Running'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1533025590'], + 'ConsortiumCount' => ['description' => '联盟数量', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'SpecName' => ['description' => '规格名', 'type' => 'string', 'example' => 'basic、'], + 'OwnerName' => ['description' => '创建者', 'type' => 'string', 'example' => 'name'], + 'OwnerUid' => ['description' => '创建者用户ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1232'], + 'OwnerBid' => ['description' => '创建者业务ID', 'type' => 'string', 'example' => 'bid'], + 'CodeName' => ['description' => '域名前缀', 'type' => 'string', 'example' => 'name'], + 'OrganizationDescription' => ['description' => '组织描述', 'type' => 'string', 'example' => 'desc'], + 'RegionId' => ['description' => '地域', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'ZoneId' => ['description' => '可用区', 'type' => 'string', 'example' => 'zone'], + 'UserCount' => ['description' => '用户数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'OrganizationName' => ['description' => '组织名', 'type' => 'string', 'example' => 'name'], + 'MajorVersion' => ['type' => 'string', 'description' => ''], 'Tags' => [ 'description' => '标签列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键', - 'type' => 'string', - 'example' => 'app', - ], - 'Value' => [ - 'description' => '标签值', - 'type' => 'string', - 'example' => 'nat_internet', - ], + 'Key' => ['description' => '标签键', 'type' => 'string', 'example' => 'BlockChainOwner'], + 'Value' => ['description' => '标签值', 'type' => 'string', 'example' => 'DepartmentA'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ErrorCode\\": 200,\\n \\"Success\\": true,\\n \\"Result\\": [\\n {\\n \\"ChannelCount\\": 2,\\n \\"Domain\\": \\"domain\\",\\n \\"State\\": \\"Pending\\",\\n \\"CreateTime\\": \\"1544411108000\\",\\n \\"SpecName\\": \\"basic\\",\\n \\"SupportChannelConfig\\": true,\\n \\"OwnerName\\": \\"uid-125566\\",\\n \\"OwnerUid\\": 12042815,\\n \\"OwnerBid\\": \\"26842\\",\\n \\"CodeName\\": \\"code\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ChannelPolicy\\": \\"Any\\",\\n \\"RequestId\\": \\"3A929FAC-A82D-4EAB-A0FF-D867426D8B23\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwl****\\",\\n \\"ExpiredTime\\": \\"1544411108000\\",\\n \\"OrganizationCount\\": 2,\\n \\"ConsortiumName\\": \\"name\\",\\n \\"MajorVersion\\": \\"\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"app\\",\\n \\"Value\\": \\"nat_internet\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumsResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ErrorCode>200</ErrorCode>\\n <Success>true</Success>\\n <Result>\\n <ChannelCount>2</ChannelCount>\\n <Domain>domain</Domain>\\n <State>Pending</State>\\n <CreateTime>1544411108000</CreateTime>\\n <SpecName>basic</SpecName>\\n <SupportChannelConfig>true</SupportChannelConfig>\\n <OwnerName>uid-125566</OwnerName>\\n <OwnerUid>12042815</OwnerUid>\\n <OwnerBid>26842</OwnerBid>\\n <CodeName>code</CodeName>\\n <RegionId>cn-hangzhou</RegionId>\\n <ChannelPolicy>Any</ChannelPolicy>\\n <RequestId>3A929FAC-A82D-4EAB-A0FF-D867426D8B23</RequestId>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>\\n <ExpiredTime>1544411108000</ExpiredTime>\\n <OrganizationCount>2</OrganizationCount>\\n <ConsortiumName>name</ConsortiumName>\\n <Tags>\\n <Key>app</Key>\\n <Value>nat_internet</Value>\\n </Tags>\\n </Result>\\n</DescribeFabricConsortiumsResponse>","errorExample":""}]', - 'title' => 'DescribeFabricConsortiums', - 'summary' => '调用DescribeFabricConsortiums获取联盟列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ErrorCode\\": 200,\\n \\"Success\\": true,\\n \\"Result\\": [\\n {\\n \\"Domain\\": \\"domain\\",\\n \\"PeerCount\\": 3,\\n \\"State\\": \\"Running\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"ConsortiumCount\\": 2,\\n \\"SpecName\\": \\"basic、\\",\\n \\"OwnerName\\": \\"name\\",\\n \\"OwnerUid\\": 1232,\\n \\"OwnerBid\\": \\"bid\\",\\n \\"CodeName\\": \\"name\\",\\n \\"OrganizationDescription\\": \\"desc\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ZoneId\\": \\"zone\\",\\n \\"UserCount\\": 10,\\n \\"OrganizationName\\": \\"name\\",\\n \\"MajorVersion\\": \\"\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"BlockChainOwner\\",\\n \\"Value\\": \\"DepartmentA\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationsResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ErrorCode>200</ErrorCode>\\n <Success>true</Success>\\n <Result>\\n <Domain>domain</Domain>\\n <PeerCount>3</PeerCount>\\n <State>Running</State>\\n <CreateTime>1533025590</CreateTime>\\n <ConsortiumCount>2</ConsortiumCount>\\n <SpecName>basic、</SpecName>\\n <OwnerName>name</OwnerName>\\n <OwnerUid>1232</OwnerUid>\\n <OwnerBid>bid</OwnerBid>\\n <CodeName>name</CodeName>\\n <OrganizationDescription>desc</OrganizationDescription>\\n <RegionId>cn-hangzhou</RegionId>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w9dt3</OrganizationId>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ZoneId>zone</ZoneId>\\n <UserCount>10</UserCount>\\n <OrganizationName>name</OrganizationName>\\n <Tags>\\n <Key>BlockChainOwner</Key>\\n <Value>DepartmentA</Value>\\n </Tags>\\n </Result>\\n</DescribeFabricOrganizationsResponse>","errorExample":""}]', + 'title' => 'DescribeFabricOrganizations', + 'summary' => '调用DescribeFabricOrganizations获取组织列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeFabricConsortiumDeletable' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2023-03-23T09:30:52.000Z', 'description' => '响应参数发生变更、错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeFabricPeerLogs' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ConsortiumId', + 'name' => 'OrganizationId', 'in' => 'query', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-test11-tzwny25vqicq'], ], [ - 'name' => 'Location', - 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'name' => 'PeerName', + 'in' => 'query', + 'schema' => ['description' => 'Peer节点名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peer1'], + ], + [ + 'name' => 'Lines', + 'in' => 'query', + 'schema' => ['description' => '显示行数', 'type' => 'string', 'required' => false, 'example' => '50'], ], ], 'responses' => [ @@ -12988,120 +8042,57 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Result' => [ - 'description' => '结果', - 'type' => 'object', - 'properties' => [ - 'Deletable' => [ - 'description' => '是否可删除', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Domain' => [ - 'description' => '域名', - 'type' => 'string', - 'example' => 'domain', - ], - 'Description' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => 'description', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'ZoneId' => [ - 'description' => '可用区', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'CodeName' => [ - 'description' => '域名前缀', - 'type' => 'string', - 'example' => 'codename', - ], - 'ConsortiumName' => [ - 'description' => '联盟名称', - 'type' => 'string', - 'example' => 'myconsortium', - ], - 'RegionId' => [ - 'description' => '地域', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '78A09CAF-4944-4CAE-B25D-F5B6BA27D9F5'], + 'Result' => ['description' => '日志记录', 'type' => 'string', 'example' => 'xxxx'], + 'Success' => ['description' => '返回状态', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '状态代码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Deletable\\": true,\\n \\"Domain\\": \\"domain\\",\\n \\"Description\\": \\"description\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwl****\\",\\n \\"State\\": \\"Running\\",\\n \\"ZoneId\\": \\"cn-hangzhou\\",\\n \\"CodeName\\": \\"codename\\",\\n \\"ConsortiumName\\": \\"myconsortium\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumDeletableResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Deletable>true</Deletable>\\n <Domain>domain</Domain>\\n <Description>description</Description>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>\\n <State>Running</State>\\n <ZoneId>cn-hangzhou</ZoneId>\\n <CodeName>codename</CodeName>\\n <ConsortiumName>myconsortium</ConsortiumName>\\n <RegionId>cn-hangzhou</RegionId>\\n </Result>\\n</DescribeFabricConsortiumDeletableResponse>","errorExample":""}]', - 'title' => '查询联盟是否可删除', - 'summary' => '调用DescribeFabricConsortiumDeletable查询联盟是否可删除。', - ], - 'DescribeFabricConsortiumChaincodes' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"78A09CAF-4944-4CAE-B25D-F5B6BA27D9F5\\",\\n \\"Result\\": \\"xxxx\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricPeerLogsResponse>\\n <RequestId>78A09CAF-4944-4CAE-B25D-F5B6BA27D9F5</RequestId>\\n <Result>xxxx</Result>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</DescribeFabricPeerLogsResponse>","errorExample":""}]', + 'title' => '获取Peer节点日志信息', + 'summary' => '调用DescribeFabricPeerLogs获取Peer节点日志信息。', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricPeerLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeRegions' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ConsortiumId', - 'in' => 'formData', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', - ], + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => '地域ID', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'Location', - 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'name' => 'AcceptLanguage', + 'in' => 'query', + 'schema' => ['description' => '返回值的语言,取值:'."\n" + ."\n" + .'- **zh-CN**:中文,默认值。'."\n" + .'- **en-US**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh-CN'], ], ], 'responses' => [ @@ -13109,317 +8100,158 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Result' => [ - 'description' => '联盟的链码列表', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D1597848-E708-522C-9275-3A202FC8B63A'], + 'Success' => ['description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Regions' => [ + 'description' => '地域列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => '类型', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EndorsePolicy' => [ - 'description' => '背书策略', - 'type' => 'string', - 'example' => 'OR (\'aaaaaa1MSP.peer\')', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Instantiatable', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'ChaincodeId' => [ - 'description' => '链码ID', - 'type' => 'string', - 'example' => 'code-sacc-1pr09q7jmo0np', - ], - 'ProviderName' => [ - 'description' => '链码上传者名称', - 'type' => 'string', - 'example' => 'name', - ], - 'Message' => [ - 'description' => '消息', - 'type' => 'string', - 'example' => 'ok', - ], - 'ChaincodeName' => [ - 'description' => '链码名称', - 'type' => 'string', - 'example' => 'sacc', - ], - 'Install' => [ - 'description' => '是否安装', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Input' => [ - 'description' => '链码输入', - 'type' => 'string', - 'example' => 'input', - ], - 'ProviderId' => [ - 'description' => '链码上传者ID', - 'type' => 'string', - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], - 'DeployTime' => [ - 'description' => '部署时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'ChaincodeVersion' => [ - 'description' => '链码版本', - 'type' => 'string', - 'example' => '1.0', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', - ], - 'ChannelName' => [ - 'description' => '通道名', - 'type' => 'string', - 'example' => 'cname', - ], - 'ChannelId' => [ - 'description' => '通道ID', - 'type' => 'string', - 'example' => 'chan-channelx-1l1hmckuuisxo', - ], - 'Path' => [ - 'description' => '链码路径', - 'type' => 'string', - 'example' => 'go-sdk-demo/chaincode/src', - ], + 'RegionEndpoint' => ['description' => '地域对应的接入地址(Endpoint)。', 'type' => 'string', 'example' => 'baas.cn-hangzhou.aliyuncs.com'], + 'LocalName' => ['description' => '地域名称', 'type' => 'string', 'example' => '华东1(杭州)'], + 'RegionId' => ['description' => '地域ID', 'type' => 'string', 'example' => 'cn-hangzhou'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Type\\": 1,\\n \\"EndorsePolicy\\": \\"OR (\'aaaaaa1MSP.peer\')\\",\\n \\"State\\": \\"Instantiatable\\",\\n \\"CreateTime\\": \\"1544411108000\\",\\n \\"ChaincodeId\\": \\"code-sacc-1pr09q7jmo0np\\",\\n \\"ProviderName\\": \\"name\\",\\n \\"Message\\": \\"ok\\",\\n \\"ChaincodeName\\": \\"sacc\\",\\n \\"Install\\": true,\\n \\"Input\\": \\"input\\",\\n \\"ProviderId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"DeployTime\\": \\"1544411108000\\",\\n \\"ChaincodeVersion\\": \\"1.0\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwlulg7\\",\\n \\"ChannelName\\": \\"cname\\",\\n \\"ChannelId\\": \\"chan-channelx-1l1hmckuuisxo\\",\\n \\"Path\\": \\"go-sdk-demo/chaincode/src\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumChaincodesResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Type>1</Type>\\n <EndorsePolicy>OR (\'aaaaaa1MSP.peer\')</EndorsePolicy>\\n <State>Instantiatable</State>\\n <CreateTime>1544411108000</CreateTime>\\n <ChaincodeId>code-sacc-1pr09q7jmo0np</ChaincodeId>\\n <ProviderName>name</ProviderName>\\n <Message>ok</Message>\\n <ChaincodeName>sacc</ChaincodeName>\\n <Install>true</Install>\\n <Input>input</Input>\\n <ProviderId>peers-aaaaaa2-1eqnj5o5w9dt3</ProviderId>\\n <DeployTime>1544411108000</DeployTime>\\n <ChaincodeVersion>1.0</ChaincodeVersion>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwlulg7</ConsortiumId>\\n <ChannelName>cname</ChannelName>\\n <ChannelId>chan-channelx-1l1hmckuuisxo</ChannelId>\\n <Path>go-sdk-demo/chaincode/src</Path>\\n </Result>\\n</DescribeFabricConsortiumChaincodesResponse>","errorExample":""}]', - 'title' => '获取联盟的链码列表', - 'summary' => '调用DescribeFabricConsortiumChaincodes获取联盟的链码列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeFabricOrganizationMembers' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D1597848-E708-522C-9275-3A202FC8B63A\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Regions\\": [\\n {\\n \\"RegionEndpoint\\": \\"baas.cn-hangzhou.aliyuncs.com\\",\\n \\"LocalName\\": \\"华东1(杭州)\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取区域列表', + 'summary' => '获取区域列表。', + 'changeSet' => [ + ['createdAt' => '2024-07-11T11:54:35.000Z', 'description' => '错误码发生变更'], ], + 'ramActions' => [], + ], + 'DescribeRootDomain' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'OrganizationId', - 'in' => 'formData', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w****', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求Id', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Result' => ['description' => '结果', 'type' => 'string', 'example' => 'onaliyunbaas.com'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Result\\": \\"onaliyunbaas.com\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<DescribeRootDomainResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Result>onaliyunbaas.com</Result>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</DescribeRootDomainResponse>","errorExample":""}]', + 'title' => '获取可用的根域名', + 'summary' => '获取Baas中可用的根域名。', + 'changeSet' => [ + ['createdAt' => '2024-07-11T11:54:35.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [], + ], + 'DescribeTasks' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Location', - 'in' => 'formData', - 'schema' => [ - 'description' => '位置信息', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'AK' => [], ], ], + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'DynamicMessage' => ['description' => '动态消息。', 'type' => 'string', 'example' => 'msg'], + 'RequestId' => ['description' => '请求Id', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'DynamicCode' => ['description' => '错误代码', 'type' => 'string', 'example' => 'code'], 'Result' => [ 'description' => '结果', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => 'domain', - 'type' => 'string', - 'example' => 'domain', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', - ], - 'Description' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => 'description', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'OrganizationName' => [ - 'description' => '组织名称', - 'type' => 'string', - 'example' => 'name', - ], - 'JoinedTime' => [ - 'description' => '加入联盟的时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ConsortiumName' => [ - 'description' => '联盟名称', - 'type' => 'string', - 'example' => 'name', - ], - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'example' => 'peers-aaaaaa2-1eqnj5o5w****', - ], - ], + 'Action' => ['description' => '操作', 'type' => 'string', 'example' => 'action'], + 'Result' => ['description' => '结果', 'type' => 'string', 'example' => 'result'], + 'Sender' => ['description' => '发送者', 'type' => 'string', 'example' => 'sender'], + 'OperationType' => ['description' => '操作类型', 'type' => 'string', 'example' => 'type'], + 'Handled' => ['description' => '是否已操作', 'type' => 'boolean', 'example' => 'false'], + 'ResponseTime' => ['description' => '响应时间', 'type' => 'string', 'example' => '1533025590'], + 'Target' => ['description' => '接收者', 'type' => 'string', 'example' => 'target'], + 'TaskId' => ['description' => '任务Id', 'type' => 'integer', 'format' => 'int32', 'example' => '33'], + 'RequestTime' => ['description' => '请求时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1533025590'], + ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Domain\\": \\"domain\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwl****\\",\\n \\"Description\\": \\"description\\",\\n \\"State\\": \\"Running\\",\\n \\"OrganizationName\\": \\"name\\",\\n \\"JoinedTime\\": \\"1533025590\\",\\n \\"ConsortiumName\\": \\"name\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationMembersResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Domain>domain</Domain>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>\\n <Description>description</Description>\\n <State>Running</State>\\n <OrganizationName>name</OrganizationName>\\n <JoinedTime>1533025590</JoinedTime>\\n <ConsortiumName>name</ConsortiumName>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w****</OrganizationId>\\n </Result>\\n</DescribeFabricOrganizationMembersResponse>","errorExample":""}]', - 'title' => '获取该组织所加入的联盟与联盟成员', - 'summary' => '调用DescribeFabricOrganizationMembers获取该组织所加入的联盟与联盟成员。', - ], - 'DescribeFabricOrganization' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DynamicMessage\\": \\"msg\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ErrorCode\\": 200,\\n \\"Success\\": true,\\n \\"DynamicCode\\": \\"code\\",\\n \\"Result\\": [\\n {\\n \\"Action\\": \\"action\\",\\n \\"Result\\": \\"result\\",\\n \\"Sender\\": \\"sender\\",\\n \\"OperationType\\": \\"type\\",\\n \\"Handled\\": false,\\n \\"ResponseTime\\": \\"1533025590\\",\\n \\"Target\\": \\"target\\",\\n \\"TaskId\\": 33,\\n \\"RequestTime\\": 1533025590\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'DescribeTasks', + 'summary' => '获取任务列表。', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DownloadFabricOrganizationSDK' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrganizationId', 'in' => 'query', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w****', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****'], ], [ - 'name' => 'Location', - 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'name' => 'Username', + 'in' => 'query', + 'schema' => ['description' => '用户名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'username'], ], [ - 'name' => 'Tag', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '标签列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '标签键', - 'type' => 'string', - 'required' => true, - 'example' => 'key1', - ], - 'Value' => [ - 'description' => '标签值', - 'type' => 'string', - 'required' => false, - 'example' => 'value1', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 20, - ], + 'name' => 'Location', + 'in' => 'formData', + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -13427,203 +8259,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '组织的详细列表', - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '域名', - 'type' => 'string', - 'example' => 'org1.alibabacloudbaas.com', - ], - 'PeerCount' => [ - 'description' => 'Peer节点数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ConsortiumCount' => [ - 'description' => '联盟数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'SpecName' => [ - 'description' => '规格名', - 'type' => 'string', - 'example' => 'basic', - ], - 'OwnerName' => [ - 'description' => '创建者', - 'type' => 'string', - 'example' => 'uid-23434', - ], - 'OwnerUid' => [ - 'description' => '创建者Uid', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '23434', - ], - 'OwnerBid' => [ - 'description' => '创建者Bid', - 'type' => 'string', - 'example' => '2544', - ], - 'CodeName' => [ - 'description' => '域名前缀', - 'type' => 'string', - 'example' => 'org1', - ], - 'OrganizationDescription' => [ - 'description' => '组织描述', - 'type' => 'string', - 'example' => 'This is org1', - ], - 'RegionId' => [ - 'description' => '地域', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], - 'MSP' => [ - 'description' => '成员服务提供者', - 'type' => 'string', - 'example' => 'org1MSP', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'CAUrl' => [ - 'description' => '组织CA节点地址', - 'type' => 'string', - 'example' => 'https://ca1.org1.alibabacloudbaas.com:31154', - ], - 'CANAME' => [ - 'description' => '组织CA节点名称', - 'type' => 'string', - 'example' => 'client', - ], - 'ZoneId' => [ - 'description' => '可用区', - 'type' => 'string', - 'example' => 'cn-hangzhou-1a', - ], - 'UserCount' => [ - 'description' => '用户数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'OrganizationName' => [ - 'description' => '组织名称', - 'type' => 'string', - 'example' => 'org1', - ], - 'Tags' => [ - 'description' => '标签列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '标签键', - 'type' => 'string', - 'example' => 'BlockChainOwner', - ], - 'Value' => [ - 'description' => '标签值', - 'type' => 'string', - 'example' => 'DepartmentA', - ], - ], - ], + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Path' => ['description' => '文件解压后的路径', 'type' => 'string', 'example' => 'dir/file'], + 'Content' => ['description' => 'base64转码过的文件内容,需要用base64解码才能得到文件原内容', 'type' => 'string', 'example' => 'base64string'], ], + 'description' => '', ], + 'description' => '', ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ErrorCode\\": 200,\\n \\"Success\\": true,\\n \\"Result\\": {\\n \\"Domain\\": \\"org1.alibabacloudbaas.com\\",\\n \\"PeerCount\\": 2,\\n \\"State\\": \\"Running\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"ConsortiumCount\\": 2,\\n \\"SpecName\\": \\"basic\\",\\n \\"OwnerName\\": \\"uid-23434\\",\\n \\"OwnerUid\\": 23434,\\n \\"OwnerBid\\": \\"2544\\",\\n \\"CodeName\\": \\"org1\\",\\n \\"OrganizationDescription\\": \\"This is org1\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"MSP\\": \\"org1MSP\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"CAUrl\\": \\"https://ca1.org1.alibabacloudbaas.com:31154\\",\\n \\"CANAME\\": \\"client\\",\\n \\"ZoneId\\": \\"cn-hangzhou-1a\\",\\n \\"UserCount\\": 2,\\n \\"OrganizationName\\": \\"org1\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"BlockChainOwner\\",\\n \\"Value\\": \\"DepartmentA\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ErrorCode>200</ErrorCode>\\n <Success>true</Success>\\n <Result>\\n <Domain>org1.alibabacloudbaas.com</Domain>\\n <PeerCount>2</PeerCount>\\n <State>Running</State>\\n <CreateTime>1533025590</CreateTime>\\n <ConsortiumCount>2</ConsortiumCount>\\n <SpecName>basic</SpecName>\\n <OwnerName>uid-23434</OwnerName>\\n <OwnerUid>23434</OwnerUid>\\n <OwnerBid>2544</OwnerBid>\\n <CodeName>org1</CodeName>\\n <OrganizationDescription>This is org1</OrganizationDescription>\\n <RegionId>cn-hangzhou</RegionId>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w9dt3</OrganizationId>\\n <MSP>org1MSP</MSP>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <CAUrl>https://ca1.org1.alibabacloudbaas.com:31154</CAUrl>\\n <CANAME>client</CANAME>\\n <ZoneId>cn-hangzhou-1a</ZoneId>\\n <UserCount>2</UserCount>\\n <OrganizationName>org1</OrganizationName>\\n <Tags>\\n <Key>BlockChainOwner</Key>\\n <Value>DepartmentA</Value>\\n </Tags>\\n </Result>\\n</DescribeFabricOrganizationResponse>","errorExample":""}]', - 'title' => 'DescribeFabricOrganization', - 'summary' => '调用DescribeFabricOrganization获取一个组织的详情。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeFabricConsortiumChannels' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Path\\": \\"dir/file\\",\\n \\"Content\\": \\"base64string\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DownloadFabricOrganizationSDKResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Path>dir/file</Path>\\n <Content>base64string</Content>\\n </Result>\\n</DownloadFabricOrganizationSDKResponse>","errorExample":""}]', + 'title' => '下载SDK', + 'summary' => '调用DownloadFabricOrganizationSDK下载SDK。', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DownloadFabricOrganizationSDK', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'FreezeAntChainAccount' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'ConsortiumId', - 'in' => 'query', - 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', - ], + 'name' => 'AntChainId', + 'in' => 'formData', + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1q8B5R9p'], ], [ - 'name' => 'Location', + 'name' => 'Account', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '账户名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'accountname'], ], ], 'responses' => [ @@ -13631,200 +8329,63 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Result' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'BatchTimeout' => [ - 'description' => '批处理超时时间', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'UpdateTime' => [ - 'description' => '更新时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'ChaincodeCount' => [ - 'description' => '链码数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'PreferredMaxBytes' => [ - 'description' => '首选最大字节数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '102410241', - ], - 'MemberJoinedCount' => [ - 'description' => '加入联盟的成员数量', - 'type' => 'string', - 'example' => '3', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'SupportChannelConfig' => [ - 'description' => '是否支持自定义配置参数', - 'type' => 'boolean', - 'example' => 'true', - ], - 'OwnerName' => [ - 'description' => '创建者', - 'type' => 'string', - 'example' => 'uid-*', - ], - 'OwnerUid' => [ - 'description' => '创建者Uid', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '212', - ], - 'OwnerBid' => [ - 'description' => '创建者Bid', - 'type' => 'string', - 'example' => '26842', - ], - 'MaxMessageCount' => [ - 'description' => '块包含最大消息条目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'MemberCount' => [ - 'description' => '通道成员数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'NeedJoined' => [ - 'description' => '是否需要加入', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', - ], - 'ChannelName' => [ - 'description' => '通道名称', - 'type' => 'string', - 'example' => 'mychammel', - ], - 'DeleteTime' => [ - 'description' => '删除时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'ChannelId' => [ - 'description' => '通道ID', - 'type' => 'string', - 'example' => 'chan-channelx-1l1hmckuuisxo', - ], - 'ConsortiumChannelId' => [ - 'description' => '联盟中通道序列', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Deleted' => [ - 'description' => '是否删除', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ConsortiumName' => [ - 'description' => '联盟名称', - 'type' => 'string', - 'example' => 'name', - ], - 'BlockCount' => [ - 'description' => '块数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - ], - ], - ], + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9F862442-F6AD-4B5F-8969-CE23DE1413CB'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"BatchTimeout\\": 2,\\n \\"UpdateTime\\": \\"1544411108000\\",\\n \\"ChaincodeCount\\": 2,\\n \\"PreferredMaxBytes\\": 102410241,\\n \\"MemberJoinedCount\\": \\"3\\",\\n \\"State\\": \\"Running\\",\\n \\"CreateTime\\": \\"1544411108000\\",\\n \\"SupportChannelConfig\\": true,\\n \\"OwnerName\\": \\"uid-*\\",\\n \\"OwnerUid\\": 212,\\n \\"OwnerBid\\": \\"26842\\",\\n \\"MaxMessageCount\\": 200,\\n \\"MemberCount\\": 3,\\n \\"NeedJoined\\": true,\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwl****\\",\\n \\"ChannelName\\": \\"mychammel\\",\\n \\"DeleteTime\\": \\"1544411108000\\",\\n \\"ChannelId\\": \\"chan-channelx-1l1hmckuuisxo\\",\\n \\"ConsortiumChannelId\\": 1,\\n \\"Deleted\\": true,\\n \\"ConsortiumName\\": \\"name\\",\\n \\"BlockCount\\": 2\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricConsortiumChannelsResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <BatchTimeout>2</BatchTimeout>\\n <UpdateTime>1544411108000</UpdateTime>\\n <ChaincodeCount>2</ChaincodeCount>\\n <PreferredMaxBytes>102410241</PreferredMaxBytes>\\n <MemberJoinedCount>3</MemberJoinedCount>\\n <State>Running</State>\\n <CreateTime>1544411108000</CreateTime>\\n <SupportChannelConfig>true</SupportChannelConfig>\\n <OwnerName>uid-*</OwnerName>\\n <OwnerUid>212</OwnerUid>\\n <OwnerBid>26842</OwnerBid>\\n <MaxMessageCount>200</MaxMessageCount>\\n <MemberCount>3</MemberCount>\\n <NeedJoined>true</NeedJoined>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>\\n <ChannelName>mychammel</ChannelName>\\n <DeleteTime>1544411108000</DeleteTime>\\n <ChannelId>chan-channelx-1l1hmckuuisxo</ChannelId>\\n <ConsortiumChannelId>1</ConsortiumChannelId>\\n <Deleted>true</Deleted>\\n <ConsortiumName>name</ConsortiumName>\\n <BlockCount>2</BlockCount>\\n </Result>\\n</DescribeFabricConsortiumChannelsResponse>","errorExample":""}]', - 'title' => '获取联盟的通道列表', - 'summary' => '调用DescribeFabricConsortiumChannels获取联盟的通道列表。', - ], - 'DescribeFabricOrganizationUsers' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"9F862442-F6AD-4B5F-8969-CE23DE1413CB\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '冻结一个蚂蚁区块链上的账户', + 'summary' => '冻结一个蚂蚁区块链上的账户。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:FreezeAntChainAccount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'InstallFabricChaincode' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'OrganizationId', - 'in' => 'query', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w****', - ], + 'in' => 'formData', + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], + ], + [ + 'name' => 'ChaincodeId', + 'in' => 'formData', + 'schema' => ['description' => '链码ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chan-channelx-1l1hmckuuisxo'], ], [ 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -13832,303 +8393,321 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '组织的用户列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ExpireTime' => [ - 'description' => '过期时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'Attrs' => [ - 'description' => 'ABAC属性', - 'type' => 'string', - 'example' => 'foo=foo1,bar=bar1', - ], - 'CallerBid' => [ - 'description' => '调用者业务ID', - 'type' => 'string', - 'example' => '26842', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'FullName' => [ - 'description' => '全名', - 'type' => 'string', - 'example' => 'name', - ], - 'CallerUid' => [ - 'description' => '调用者用户ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '84927598****', - ], - 'Username' => [ - 'description' => '用户名', - 'type' => 'string', - 'example' => 'username', - ], - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], - 'RegionId' => [ - 'description' => '地域ID', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - ], + 'description' => '结果', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '类型:'."\n" + .'- 0:未定义'."\n" + .'- 1:Go'."\n" + .'- 2:Node'."\n" + .'- 4:Java', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'EndorsePolicy' => ['description' => '背书策略', 'type' => 'string', 'example' => 'OR ("perf9141MSP.member")'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Pending'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1533025590'], + 'ChaincodeId' => ['description' => '链码ID', 'type' => 'string', 'example' => 'cc-198jejf8f8chi8'], + 'ProviderName' => ['description' => '上传者', 'type' => 'string', 'example' => 'prividername'], + 'Message' => ['description' => '信息', 'type' => 'string', 'example' => 'ok'], + 'ChaincodeName' => ['description' => '链码名称', 'type' => 'string', 'example' => 'mychannel'], + 'Input' => ['description' => '输入', 'type' => 'string', 'example' => 'input'], + 'Install' => ['description' => '是否安装', 'type' => 'boolean', 'example' => 'false'], + 'ProviderId' => ['description' => '上传者ID', 'type' => 'string', 'example' => 'providerid'], + 'DeployTime' => ['description' => '部署时间', 'type' => 'string', 'example' => '1533025590'], + 'ChaincodeVersion' => ['description' => '链码版本', 'type' => 'string', 'example' => '1.0'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7'], + 'ChannelName' => ['description' => '通道名', 'type' => 'string', 'example' => 'mychannel'], + 'Path' => ['description' => '路径', 'type' => 'string', 'example' => 'github.com/hyperledger/fabric-samples/chaincode/sacc'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"ExpireTime\\": \\"1533025590\\",\\n \\"Attrs\\": \\"foo=foo1,bar=bar1\\",\\n \\"CallerBid\\": \\"26842\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"FullName\\": \\"name\\",\\n \\"CallerUid\\": 0,\\n \\"Username\\": \\"username\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationUsersResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <ExpireTime>1533025590</ExpireTime>\\n <Attrs>foo=foo1,bar=bar1</Attrs>\\n <CallerBid>26842</CallerBid>\\n <CreateTime>1533025590</CreateTime>\\n <FullName>name</FullName>\\n <Username>username</Username>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w9dt3</OrganizationId>\\n <RegionId>cn-hangzhou</RegionId>\\n </Result>\\n</DescribeFabricOrganizationUsersResponse>","errorExample":""}]', - 'title' => '获取组织的用户列表', - 'summary' => '调用DescribeFabricOrganizationUsers获取组织的用户列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Type\\": 1,\\n \\"EndorsePolicy\\": \\"OR (\\\\\\"perf9141MSP.member\\\\\\")\\",\\n \\"State\\": \\"Pending\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"ChaincodeId\\": \\"cc-198jejf8f8chi8\\",\\n \\"ProviderName\\": \\"prividername\\",\\n \\"Message\\": \\"ok\\",\\n \\"ChaincodeName\\": \\"mychannel\\",\\n \\"Input\\": \\"input\\",\\n \\"Install\\": false,\\n \\"ProviderId\\": \\"providerid\\",\\n \\"DeployTime\\": \\"1533025590\\",\\n \\"ChaincodeVersion\\": \\"1.0\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwlulg7\\",\\n \\"ChannelName\\": \\"mychannel\\",\\n \\"Path\\": \\"github.com/hyperledger/fabric-samples/chaincode/sacc\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<InstallFabricChaincodeResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Type>1</Type>\\n <EndorsePolicy>OR (\\"perf9141MSP.member\\")</EndorsePolicy>\\n <State>Pending</State>\\n <CreateTime>1533025590</CreateTime>\\n <ChaincodeId>cc-198jejf8f8chi8</ChaincodeId>\\n <ProviderName>prividername</ProviderName>\\n <Message>ok</Message>\\n <ChaincodeName>mychannel</ChaincodeName>\\n <Input>input</Input>\\n <Install>false</Install>\\n <ProviderId>providerid</ProviderId>\\n <DeployTime>1533025590</DeployTime>\\n <ChaincodeVersion>1.0</ChaincodeVersion>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwlulg7</ConsortiumId>\\n <ChannelName>mychannel</ChannelName>\\n <Path>github.com/hyperledger/fabric-samples/chaincode/sacc</Path>\\n </Result>\\n</InstallFabricChaincodeResponse>","errorExample":""}]', + 'title' => '安装链码', + 'summary' => '调用InstallFabricChaincode安装链码。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeFabricInvitationCode' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:InstallFabricChaincode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'InstallFabricChaincodePackage' => [ + 'summary' => '安装Fabric2.0特性链码包。', + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'ConsortiumId', + 'name' => 'OrganizationId', + 'in' => 'formData', + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], + ], + [ + 'name' => 'ChaincodePackageId', 'in' => 'formData', + 'schema' => ['description' => '链码包ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chan-channelx-1l1hmckuuisxo'], + ], + [ + 'name' => 'Location', + 'in' => 'formData', + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', + 'description' => '结果', + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => '信息', 'type' => 'string', 'example' => 'ok'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Result' => ['description' => '结果', '$ref' => '#/components/schemas/ChaincodePackage'], + ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"ok\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"Label\\": \\"label\\",\\n \\"Checksum\\": \\"15bab12c29edbc095c33545b9867aec9be469c74a6dd5783df6ee74a24334c77\\",\\n \\"ChaincodePackageId\\": \\"cmcc-1.5:227c3cd472a8a2fcaa1c63f15812a1894348a985dc723006dd47d9f2848d10ed\\",\\n \\"Md5sum\\": \\"N02eVKuRJDA2ODtieMUxVw==\\",\\n \\"ProviderUid\\": \\"1313158505072210\\",\\n \\"ProviderBid\\": \\"26842\\",\\n \\"Type\\": 0,\\n \\"TypeName\\": \\"golang\\",\\n \\"UploadTime\\": \\"1533025590\\",\\n \\"InstallTime\\": \\"1533025590\\",\\n \\"State\\": \\"Running\\",\\n \\"OssURL\\": \\"hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz\\",\\n \\"DeleteTime\\": \\"1533025590\\",\\n \\"Deleted\\": false,\\n \\"Message\\": \\"ok\\"\\n }\\n}","type":"json"}]', + 'title' => '安装2.0链码包', + 'changeSet' => [ + ['createdAt' => '2022-02-28T10:34:55.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:InstallFabricChaincodePackage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'InstantiateFabricChaincode' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'OrganizationId', + 'in' => 'formData', + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****'], + ], + [ + 'name' => 'ChaincodeId', + 'in' => 'formData', + 'schema' => ['description' => '链码ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cc-198jejf8f8****'], + ], + [ + 'name' => 'EndorsePolicy', + 'in' => 'formData', + 'schema' => ['description' => '背书策略', 'type' => 'string', 'required' => false, 'example' => 'OR ('perf9141MSP.member')'], + ], + [ + 'name' => 'Location', + 'in' => 'formData', + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'CollectionConfig', + 'in' => 'formData', + 'schema' => ['description' => '隐私数据集配置:'."\n" + .'- name:隐私集合名称'."\n" + .'- maxPeerCount:该隐私集合在背书阶段最多分发到 N 个peer节点'."\n" + .'- requiredPeerCount:该隐私集合在背书阶段至少需要被分发到N个peer节点上,才认为交易成功'."\n" + .'- blockToLive:隐私交易上链后,隐私数据需要保留的时间(单位为区块高度),0 表示永久保存'."\n" + .'- policy:该隐私集合被允许分发到哪些 peer 节点上,格式同背书策略', 'type' => 'string', 'required' => false, 'example' => '[{"requiredPeerCount":0,"name":"collectionName","maxPeerCount":3,"blockToLive":0,"policy":"OR(\'Org1MSP.peer\')"}]'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DynamicMessage' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => 'The invitation code could not found.', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '77E25463-56CB-4F1C-8EB6-8ADDFE39EF0F', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'DynamicCode' => [ - 'description' => '错误代码', - 'type' => 'string', - 'example' => 'InvitationCodeNotFound', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ 'description' => '结果', 'type' => 'object', 'properties' => [ - 'SenderId' => [ - 'description' => '发送者ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '26345345', - ], - 'Email' => [ - 'description' => '邮箱', - 'type' => 'string', - 'example' => 'abc@126.com', - ], - 'SenderBid' => [ - 'description' => '发送者Bid', - 'type' => 'string', - 'example' => '27534', - ], - 'ExpireTime' => [ - 'description' => '过期时间', - 'type' => 'string', - 'example' => '1544411108000', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', - ], - 'InvitationId' => [ - 'description' => '邀请ID', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'SenderName' => [ - 'description' => '发送者', - 'type' => 'string', - 'example' => 'uid-35324', - ], - 'Code' => [ - 'description' => '邀请码', - 'type' => 'string', - 'example' => 'code', - ], - 'Url' => [ - 'description' => '邀请链接', - 'type' => 'string', - 'example' => 'http://baas.console.aliyun.test/invite?code=92e7ef1934892', - ], - 'Accepted' => [ - 'description' => '是否接受', - 'type' => 'boolean', - 'example' => 'true', - ], - 'SendTime' => [ - 'description' => '发送时间', - 'type' => 'string', - 'example' => '1544411108000', - ], + 'Type' => ['description' => '类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'EndorsePolicy' => ['description' => '背书策略', 'type' => 'string', 'example' => 'OR (\'aaaaaa1MSP.peer\')'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Running'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1533025590'], + 'ChaincodeId' => ['description' => '链码ID', 'type' => 'string', 'example' => 'cc-198jejf8f8chi8'], + 'ProviderName' => ['description' => '上传者', 'type' => 'string', 'example' => 'name'], + 'Message' => ['description' => '信息', 'type' => 'string', 'example' => 'ok'], + 'ChaincodeName' => ['description' => '链码名称', 'type' => 'string', 'example' => 'channelname'], + 'Input' => ['description' => '输入', 'type' => 'string', 'example' => 'input'], + 'Install' => ['description' => '是否安装', 'type' => 'boolean', 'example' => 'false'], + 'ProviderId' => ['description' => '上传者ID', 'type' => 'string', 'example' => 'id'], + 'DeployTime' => ['description' => '部署时间', 'type' => 'string', 'example' => '1533025590'], + 'ChaincodeVersion' => ['description' => '链码版本', 'type' => 'string', 'example' => '1.0'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7'], + 'ChannelName' => ['description' => '通道名', 'type' => 'string', 'example' => 'channelname'], + 'Path' => ['description' => '路径', 'type' => 'string', 'example' => 'go-sdk-demo/chaincode/src'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DynamicMessage\\": \\"The invitation code could not found.\\",\\n \\"RequestId\\": \\"77E25463-56CB-4F1C-8EB6-8ADDFE39EF0F\\",\\n \\"ErrorCode\\": 200,\\n \\"Success\\": true,\\n \\"DynamicCode\\": \\"InvitationCodeNotFound\\",\\n \\"Result\\": {\\n \\"SenderId\\": 26345345,\\n \\"Email\\": \\"abc@126.com\\",\\n \\"SenderBid\\": \\"27534\\",\\n \\"ExpireTime\\": \\"1544411108000\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwl****\\",\\n \\"InvitationId\\": 2,\\n \\"SenderName\\": \\"uid-35324\\",\\n \\"Code\\": \\"code\\",\\n \\"Url\\": \\"http://baas.console.aliyun.test/invite?code=92e7ef1934892\\",\\n \\"Accepted\\": true,\\n \\"SendTime\\": \\"1544411108000\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricInvitationCodeResponse>\\n <DynamicMessage>The invitation code could not found.</DynamicMessage>\\n <RequestId>77E25463-56CB-4F1C-8EB6-8ADDFE39EF0F</RequestId>\\n <ErrorCode>200</ErrorCode>\\n <Success>true</Success>\\n <DynamicCode>InvitationCodeNotFound</DynamicCode>\\n <Result>\\n <SenderId>26345345</SenderId>\\n <Email>abc@126.com</Email>\\n <SenderBid>27534</SenderBid>\\n <ExpireTime>1544411108000</ExpireTime>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>\\n <InvitationId>2</InvitationId>\\n <SenderName>uid-35324</SenderName>\\n <Code>code</Code>\\n <Url>http://baas.console.aliyun.test/invite?code=92e7ef1934892</Url>\\n <Accepted>true</Accepted>\\n <SendTime>1544411108000</SendTime>\\n </Result>\\n</DescribeFabricInvitationCodeResponse>","errorExample":""}]', - 'title' => '获取邀请链接', - 'summary' => '调用DescribeFabricInvitationCode获取邀请链接。', - ], - 'DescribeFabricOrganizationSpecs' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Type\\": 1,\\n \\"EndorsePolicy\\": \\"OR (\'aaaaaa1MSP.peer\')\\",\\n \\"State\\": \\"Running\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"ChaincodeId\\": \\"cc-198jejf8f8chi8\\",\\n \\"ProviderName\\": \\"name\\",\\n \\"Message\\": \\"ok\\",\\n \\"ChaincodeName\\": \\"channelname\\",\\n \\"Input\\": \\"input\\",\\n \\"Install\\": false,\\n \\"ProviderId\\": \\"id\\",\\n \\"DeployTime\\": \\"1533025590\\",\\n \\"ChaincodeVersion\\": \\"1.0\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwlulg7\\",\\n \\"ChannelName\\": \\"channelname\\",\\n \\"Path\\": \\"go-sdk-demo/chaincode/src\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<InstantiateFabricChaincodeResponse>\\r\\n\\t<Result>\\r\\n\\t\\t<install>false</install>\\r\\n\\t\\t<channelName>mychannel</channelName>\\r\\n\\t\\t<input>args:&quot;john&quot; args:&quot;10&quot; </input>\\r\\n\\t\\t<ChaincodeName>mycc3</ChaincodeName>\\r\\n\\t\\t<Path>github.com/hyperledger/fabric-samples/chaincode/sacc</Path>\\r\\n\\t\\t<state>Running</state>\\r\\n\\t\\t<chaincodeId>cc-198jejf8f8chi8</chaincodeId>\\r\\n\\t\\t<type>1</type>\\r\\n\\t\\t<ChaincodeVersion>0.1</ChaincodeVersion>\\r\\n\\t\\t<ConsortiumId>consortium-lianmenyumingyi-hc5d1bwlulg7</ConsortiumId>\\r\\n\\t\\t<CreateTime>1533025590</CreateTime>\\r\\n\\t\\t<EndorsePolicy>OR (perf9141MSP.member)</EndorsePolicy>\\r\\n\\t\\t<Message>OK</Message>\\r\\n\\t</Result>\\r\\n\\t<RequestId>7D27692E-C501-4B1D-878C-0B869DD3D9E6</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</InstantiateFabricChaincodeResponse>","errorExample":""}]', + 'title' => '实例化链码', + 'summary' => '调用InstantiateFabricChaincode实例化链码。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:InstantiateFabricChaincode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'JoinFabricChannel' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'ChannelId', + 'in' => 'query', + 'schema' => ['description' => '通道ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chan-channelx-1l1hmckuu****'], + ], + [ + 'name' => 'Do', + 'in' => 'query', + 'schema' => ['description' => '操作', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'accept'], + ], + [ + 'name' => 'Location', + 'in' => 'formData', + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ + 'description' => '结果', 'type' => 'array', 'items' => [ - 'description' => '组织的规格列表', 'type' => 'object', 'properties' => [ - 'Title' => [ - 'description' => '标题', - 'type' => 'string', - 'example' => '基础版', - ], - 'OrganizationSpecsName' => [ - 'description' => '规格名', - 'type' => 'string', - 'example' => 'basic', - ], - 'Enable' => [ - 'description' => '是否启用', - 'type' => 'boolean', - 'example' => 'true', - ], - ], + 'WithPeer' => ['description' => '是否包含节点', 'type' => 'boolean', 'example' => 'true'], + 'AcceptTime' => ['description' => '接受时间', 'type' => 'string', 'example' => '1533025590'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Running'], + 'DestroyTime' => ['description' => '销毁时间', 'type' => 'string', 'example' => '1533025590'], + 'InviteTime' => ['description' => '邀请时间', 'type' => 'string', 'example' => '1533025590'], + 'ChannelId' => ['description' => '通道ID', 'type' => 'string', 'example' => 'channelid'], + 'ConfirmTime' => ['description' => '确认时间', 'type' => 'string', 'example' => '1533025590'], + 'ApproveTime' => ['description' => '批准时间', 'type' => 'string', 'example' => '1533025590'], + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], + ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Title\\": \\"基础版\\",\\n \\"OrganizationSpecsName\\": \\"basic\\",\\n \\"Enable\\": true\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationSpecsResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Title>基础版</Title>\\n <OrganizationSpecsName>basic</OrganizationSpecsName>\\n <Enable>true</Enable>\\n </Result>\\n</DescribeFabricOrganizationSpecsResponse>","errorExample":""}]', - 'title' => '查询组织的规格列表', - 'summary' => '调用DescribeFabricOrganizationSpecs查询组织的规格列表。', - ], - 'ListTagResources' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"WithPeer\\": true,\\n \\"AcceptTime\\": \\"1533025590\\",\\n \\"State\\": \\"Running\\",\\n \\"DestroyTime\\": \\"1533025590\\",\\n \\"InviteTime\\": \\"1533025590\\",\\n \\"ChannelId\\": \\"channelid\\",\\n \\"ConfirmTime\\": \\"1533025590\\",\\n \\"ApproveTime\\": \\"1533025590\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<JoinFabricChannelResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <WithPeer>true</WithPeer>\\n <AcceptTime>1533025590</AcceptTime>\\n <State>Running</State>\\n <DestroyTime>1533025590</DestroyTime>\\n <InviteTime>1533025590</InviteTime>\\n <ChannelId>channelid</ChannelId>\\n <ConfirmTime>1533025590</ConfirmTime>\\n <ApproveTime>1533025590</ApproveTime>\\n <OrganizationId>peers-aaaaaa2-1eqnj5o5w9dt3</OrganizationId>\\n </Result>\\n</JoinFabricChannelResponse>","errorExample":""}]', + 'title' => '确认加入通道', + 'summary' => '调用JoinFabricChannel确认加入通道。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:JoinFabricChannel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListTagResources' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14136,9 +8715,7 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ResourceType', @@ -14149,21 +8726,13 @@ 'required' => true, 'docRequired' => true, 'example' => 'organization', - 'enum' => [ - 'organization', - 'consortium', - ], + 'enum' => ['organization', 'consortium'], ], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'NextToken,用于查询时提供的查询断点。', - 'type' => 'string', - 'required' => false, - 'example' => 'MWJlMTY4ZmY4MzdmMDQzYmRlMTdjMDMxNDM0MWM4NDI3MTA0N2IzMQo=', - ], + 'schema' => ['description' => 'NextToken,用于查询时提供的查询断点。', 'type' => 'string', 'required' => false, 'example' => 'MWJlMTY4ZmY4MzdmMDQzYmRlMTdjMDMxNDM0MWM4NDI3MTA0N2IzMQo='], ], [ 'name' => 'ResourceId', @@ -14172,12 +8741,7 @@ 'schema' => [ 'description' => '实例Id,N取值0,50。不可重复。', 'type' => 'array', - 'items' => [ - 'description' => '实例Id,N取值0,50。不可重复。', - 'type' => 'string', - 'required' => false, - 'example' => 'peers-demoinstance-12axcfirtbfkc9d', - ], + 'items' => ['description' => '实例Id,N取值0,50。不可重复。', 'type' => 'string', 'required' => false, 'example' => 'peers-demoinstance-12axcfirtbfkc9d'], 'required' => false, 'example' => 'peers-tf000eihjli000shanghai-yqxvj52lruxx', 'maxItems' => 51, @@ -14193,20 +8757,11 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'Tag Key值,N取值0,20。结果将同时满足所有Key的限制。不可重复。', - 'type' => 'string', - 'required' => false, - 'example' => 'key1', - ], - 'Value' => [ - 'description' => 'Tag Value值,N取值0,20,需与Tag Key对应。结果将满足所有Value的限制。', - 'type' => 'string', - 'required' => false, - 'example' => 'value2', - ], + 'Key' => ['description' => 'Tag Key值,N取值0,20。结果将同时满足所有Key的限制。不可重复。', 'type' => 'string', 'required' => false, 'example' => 'key1'], + 'Value' => ['description' => 'Tag Value值,N取值0,20,需与Tag Key对应。结果将满足所有Value的限制。', 'type' => 'string', 'required' => false, 'example' => 'value2'], ], 'required' => false, + 'description' => '', ], 'required' => false, 'maxItems' => 21, @@ -14218,87 +8773,41 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'NextToken,用于查询时提供的查询断点。', - 'type' => 'string', - 'example' => 'MWJlMTY4ZmY4MzdmMDQzYmRlMTdjMDMxNDM0MWM4NDI3MTA0N2IzMQo=', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '21B8738D-254C-4933-9FC1-3C31B2611482', - ], + 'NextToken' => ['description' => 'NextToken,用于查询时提供的查询断点。', 'type' => 'string', 'example' => 'MWJlMTY4ZmY4MzdmMDQzYmRlMTdjMDMxNDM0MWM4NDI3MTA0N2IzMQo='], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '21B8738D-254C-4933-9FC1-3C31B2611482'], 'TagResources' => [ 'description' => '数组长度最大为20。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TagValue' => [ - 'description' => '资源Tag Value。', - 'type' => 'string', - 'example' => 'value1', - ], - 'ResourceType' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'example' => 'organization', - ], - 'ResourceId' => [ - 'description' => '资源ID。', - 'type' => 'string', - 'example' => 'peers-tf000eihjli000shanghai-yqxvj52lruxx', - ], - 'TagKey' => [ - 'description' => '资源Tag Key。', - 'type' => 'string', - 'example' => 'key1', - ], + 'TagValue' => ['description' => '资源Tag Value。', 'type' => 'string', 'example' => 'value1'], + 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'organization'], + 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'peers-tf000eihjli000shanghai-yqxvj52lruxx'], + 'TagKey' => ['description' => '资源Tag Key。', 'type' => 'string', 'example' => 'key1'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter.%s', - 'errorMessage' => '%s', - ], - [ - 'errorCode' => 'MissingParameter.%s', - 'errorMessage' => '%s', - ], - [ - 'errorCode' => 'MatchResource.%s', - 'errorMessage' => 'Could\'t match resource [%s]', - ], - [ - 'errorCode' => 'InvalidTagsCount.%s', - 'errorMessage' => 'Could\'t insert/update resouce [%s] tag', - ], - [ - 'errorCode' => 'ConvertFailed.%s', - 'errorMessage' => 'Could\'t convert parameter [%s]', - ], - [ - 'errorCode' => 'ParameterConstraints.%s', - 'errorMessage' => 'Could\'t accept duplicate keys [%s]', - ], + ['errorCode' => 'InvalidParameter.%s', 'errorMessage' => '%s', 'description' => ''], + ['errorCode' => 'MissingParameter.%s', 'errorMessage' => '%s', 'description' => ''], + ['errorCode' => 'MatchResource.%s', 'errorMessage' => 'Could\'t match resource [%s]', 'description' => ''], + ['errorCode' => 'InvalidTagsCount.%s', 'errorMessage' => 'Could\'t insert/update resouce [%s] tag', 'description' => ''], + ['errorCode' => 'ConvertFailed.%s', 'errorMessage' => 'Could\'t convert parameter [%s]', 'description' => ''], + ['errorCode' => 'ParameterConstraints.%s', 'errorMessage' => 'Could\'t accept duplicate keys [%s]', 'description' => ''], ], [ - [ - 'errorCode' => 'InvalidAuthority.%s', - 'errorMessage' => 'Could\'t operate resource [%s]', - ], + ['errorCode' => 'InvalidAuthority.%s', 'errorMessage' => 'Could\'t operate resource [%s]', 'description' => ''], ], 503 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"MWJlMTY4ZmY4MzdmMDQzYmRlMTdjMDMxNDM0MWM4NDI3MTA0N2IzMQo=\\",\\n \\"RequestId\\": \\"21B8738D-254C-4933-9FC1-3C31B2611482\\",\\n \\"TagResources\\": [\\n {\\n \\"TagValue\\": \\"value1\\",\\n \\"ResourceType\\": \\"organization\\",\\n \\"ResourceId\\": \\"peers-tf000eihjli000shanghai-yqxvj52lruxx\\",\\n \\"TagKey\\": \\"key1\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListTagResourcesResponse>\\n <NextToken>MWJlMTY4ZmY4MzdmMDQzYmRlMTdjMDMxNDM0MWM4NDI3MTA0N2IzMQo=</NextToken>\\n <RequestId>21B8738D-254C-4933-9FC1-3C31B2611482</RequestId>\\n <TagResources>\\n <TagValue>value1</TagValue>\\n <ResourceType>organization</ResourceType>\\n <ResourceId>peers-tf000eihjli000shanghai-yqxvj52lruxx</ResourceId>\\n <TagKey>key1</TagKey>\\n </TagResources>\\n</ListTagResourcesResponse>","errorExample":""}]', @@ -14307,48 +8816,36 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeFabricOrganizationChannels' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:ListTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ResetAntChainCertificate' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'OrganizationId', - 'in' => 'query', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5****', - ], - ], - [ - 'name' => 'Location', + 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v'], ], ], 'responses' => [ @@ -14356,196 +8853,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Result' => [ - 'description' => '组织加入的通道列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'BatchTimeout' => [ - 'description' => '批处理超时时间,单位秒', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'UpdateTime' => [ - 'description' => '更新时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ChaincodeCount' => [ - 'description' => '链码数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'PreferredMaxBytes' => [ - 'description' => '首选最大字节数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '24', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'SupportChannelConfig' => [ - 'description' => '是否支持自定义配置参数', - 'type' => 'boolean', - 'example' => 'true', - ], - 'OwnerName' => [ - 'description' => '创建者', - 'type' => 'string', - 'example' => 'uid-116748157028****', - ], - 'OwnerUid' => [ - 'description' => '创建者Uid', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '116748157028****', - ], - 'OwnerBid' => [ - 'description' => '创建者Bid', - 'type' => 'string', - 'example' => '26842', - ], - 'MaxMessageCount' => [ - 'description' => '块包含最大消息条目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'MemberCount' => [ - 'description' => '成员数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-perf914-37cfcff9pa****', - ], - 'ChannelName' => [ - 'description' => '通道名', - 'type' => 'string', - 'example' => 'mychannel', - ], - 'DeleteTime' => [ - 'description' => '删除时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ChannelId' => [ - 'description' => '通道ID', - 'type' => 'string', - 'example' => 'chan-first-channel-31hlgpen5k****', - ], - 'Deleted' => [ - 'description' => '是否已经删除', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ConsortiumName' => [ - 'description' => '联盟名称', - 'type' => 'string', - 'example' => 'name', - ], - 'BlockCount' => [ - 'description' => '块数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - ], - ], - ], + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6ED983D3-C131-4104-8BDD-1F37992258E1'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"BatchTimeout\\": 2,\\n \\"UpdateTime\\": \\"1533025590\\",\\n \\"ChaincodeCount\\": 2,\\n \\"PreferredMaxBytes\\": 24,\\n \\"State\\": \\"Running\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"SupportChannelConfig\\": true,\\n \\"OwnerName\\": \\"uid-116748157028****\\",\\n \\"OwnerUid\\": 0,\\n \\"OwnerBid\\": \\"26842\\",\\n \\"MaxMessageCount\\": 12,\\n \\"MemberCount\\": 3,\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"ConsortiumId\\": \\"consortium-perf914-37cfcff9pa****\\",\\n \\"ChannelName\\": \\"mychannel\\",\\n \\"DeleteTime\\": \\"1533025590\\",\\n \\"ChannelId\\": \\"chan-first-channel-31hlgpen5k****\\",\\n \\"Deleted\\": true,\\n \\"ConsortiumName\\": \\"name\\",\\n \\"BlockCount\\": 3\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricOrganizationChannelsResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <BatchTimeout>2</BatchTimeout>\\n <UpdateTime>1533025590</UpdateTime>\\n <ChaincodeCount>2</ChaincodeCount>\\n <PreferredMaxBytes>24</PreferredMaxBytes>\\n <State>Running</State>\\n <CreateTime>1533025590</CreateTime>\\n <SupportChannelConfig>true</SupportChannelConfig>\\n <OwnerName>uid-116748157028****</OwnerName>\\n <OwnerBid>26842</OwnerBid>\\n <MaxMessageCount>12</MaxMessageCount>\\n <MemberCount>3</MemberCount>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <ConsortiumId>consortium-perf914-37cfcff9pa****</ConsortiumId>\\n <ChannelName>mychannel</ChannelName>\\n <DeleteTime>1533025590</DeleteTime>\\n <ChannelId>chan-first-channel-31hlgpen5k****</ChannelId>\\n <Deleted>true</Deleted>\\n <ConsortiumName>name</ConsortiumName>\\n <BlockCount>3</BlockCount>\\n </Result>\\n</DescribeFabricOrganizationChannelsResponse>","errorExample":""}]', - 'title' => '获取该组织加入的通道列表', - 'summary' => '调用DescribeFabricOrganizationChannels获取该组织加入的通道列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"6ED983D3-C131-4104-8BDD-1F37992258E1\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '重置证书', + 'summary' => '重置证书。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AcceptFabricInvitation' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:ResetAntChainCertificate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ResetAntChainUserCertificate' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'Code', + 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '邀请码。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'secrettoken', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ'], ], [ - 'name' => 'IsAccepted', + 'name' => 'Username', 'in' => 'formData', - 'schema' => [ - 'description' => '是否接受。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'docRequired' => false, - 'default' => 'true', - 'enum' => [ - 'true', - 'false', - ], - ], + 'schema' => ['description' => '用户名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'uid-128712635330****'], ], ], 'responses' => [ @@ -14553,174 +8910,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '52CC8D5B-79A8-4769-BC7B-8940556ADA49', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '3EB828D1-1E9D-4EC2-A002-139FE998D674'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"52CC8D5B-79A8-4769-BC7B-8940556ADA49\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<AcceptFabricInvitationResesponse>\\r\\n\\t<RequestId>52CC8D5B-79A8-4769-BC7B-8940556ADA49</RequestId>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n\\t<Success>true</Success>\\r\\n</AcceptFabricInvitationResesponse>","errorExample":""}]', - 'title' => '接受加入联盟的邀请', - 'summary' => '调用AcceptFabricInvitation接受加入联盟的邀请。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"3EB828D1-1E9D-4EC2-A002-139FE998D674\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '重置用户', + 'summary' => '重置用户。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ConfirmFabricConsortiumMember' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], - ], - ], - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'ConsortiumId', - 'in' => 'query', - 'schema' => [ - 'description' => '联盟ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'consortium-aaaaaa-akpcsjjac2jd', - ], - ], - [ - 'name' => 'Organization', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '组织列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'OrganizationId' => [ - 'description' => '组织的ID列表。', - 'type' => 'string', - 'required' => true, - 'example' => 'peers-aaaaaa1-1oxw31d046jtl', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 1000, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '50B3ACF3-CE12-433C-A834-9E8C657A4934', - ], - 'Result' => [ - 'description' => '结果', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:ResetAntChainUserCertificate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"50B3ACF3-CE12-433C-A834-9E8C657A4934\\",\\n \\"Result\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ConfirmFabricConsortiumMemberResponse>\\n <RequestId>50B3ACF3-CE12-433C-A834-9E8C657A4934</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</ConfirmFabricConsortiumMemberResponse>","errorExample":""}]', - 'title' => 'ConfirmFabricConsortiumMember', - 'summary' => '调用ConfirmFabricConsortiumMember确认联盟成员的加入申请,需要确认提案。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'InstallFabricChaincode' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ResetFabricOrganizationUserPassword' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'OrganizationId', 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****'], ], [ - 'name' => 'ChaincodeId', + 'name' => 'Username', 'in' => 'formData', - 'schema' => [ - 'description' => '链码ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'chan-channelx-1l1hmckuuisxo', - ], + 'schema' => ['description' => '用户名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'username'], + ], + [ + 'name' => 'Password', + 'in' => 'formData', + 'schema' => ['description' => '密码', 'type' => 'string', 'required' => true, 'example' => 'pwd', 'docRequired' => true], ], [ 'name' => 'Location', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -14728,248 +8981,175 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ 'description' => '结果', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => '类型:'."\n" - .'- 0:未定义'."\n" - .'- 1:Go'."\n" - .'- 2:Node'."\n" - .'- 4:Java', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EndorsePolicy' => [ - 'description' => '背书策略', - 'type' => 'string', - 'example' => 'OR ("perf9141MSP.member")', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Pending', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ChaincodeId' => [ - 'description' => '链码ID', - 'type' => 'string', - 'example' => 'cc-198jejf8f8chi8', - ], - 'ProviderName' => [ - 'description' => '上传者', - 'type' => 'string', - 'example' => 'prividername', - ], - 'Message' => [ - 'description' => '信息', - 'type' => 'string', - 'example' => 'ok', - ], - 'ChaincodeName' => [ - 'description' => '链码名称', - 'type' => 'string', - 'example' => 'mychannel', - ], - 'Input' => [ - 'description' => '输入', - 'type' => 'string', - 'example' => 'input', - ], - 'Install' => [ - 'description' => '是否安装', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ProviderId' => [ - 'description' => '上传者ID', - 'type' => 'string', - 'example' => 'providerid', - ], - 'DeployTime' => [ - 'description' => '部署时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ChaincodeVersion' => [ - 'description' => '链码版本', - 'type' => 'string', - 'example' => '1.0', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', - ], - 'ChannelName' => [ - 'description' => '通道名', - 'type' => 'string', - 'example' => 'mychannel', - ], - 'Path' => [ - 'description' => '路径', - 'type' => 'string', - 'example' => 'github.com/hyperledger/fabric-samples/chaincode/sacc', - ], + 'Password' => ['description' => '密码', 'type' => 'string', 'example' => 'password'], + 'ExpireTime' => ['description' => '过期时间', 'type' => 'string', 'example' => '1533025590'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1533025590'], + 'OrganizationId' => ['description' => '组织ID', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w****'], + 'Username' => ['description' => '用户名', 'type' => 'string', 'example' => 'username'], + 'Fullname' => ['description' => '全名', 'type' => 'string', 'example' => 'username'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Type\\": 1,\\n \\"EndorsePolicy\\": \\"OR (\\\\\\"perf9141MSP.member\\\\\\")\\",\\n \\"State\\": \\"Pending\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"ChaincodeId\\": \\"cc-198jejf8f8chi8\\",\\n \\"ProviderName\\": \\"prividername\\",\\n \\"Message\\": \\"ok\\",\\n \\"ChaincodeName\\": \\"mychannel\\",\\n \\"Input\\": \\"input\\",\\n \\"Install\\": false,\\n \\"ProviderId\\": \\"providerid\\",\\n \\"DeployTime\\": \\"1533025590\\",\\n \\"ChaincodeVersion\\": \\"1.0\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwlulg7\\",\\n \\"ChannelName\\": \\"mychannel\\",\\n \\"Path\\": \\"github.com/hyperledger/fabric-samples/chaincode/sacc\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<InstallFabricChaincodeResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Type>1</Type>\\n <EndorsePolicy>OR (\\"perf9141MSP.member\\")</EndorsePolicy>\\n <State>Pending</State>\\n <CreateTime>1533025590</CreateTime>\\n <ChaincodeId>cc-198jejf8f8chi8</ChaincodeId>\\n <ProviderName>prividername</ProviderName>\\n <Message>ok</Message>\\n <ChaincodeName>mychannel</ChaincodeName>\\n <Input>input</Input>\\n <Install>false</Install>\\n <ProviderId>providerid</ProviderId>\\n <DeployTime>1533025590</DeployTime>\\n <ChaincodeVersion>1.0</ChaincodeVersion>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwlulg7</ConsortiumId>\\n <ChannelName>mychannel</ChannelName>\\n <Path>github.com/hyperledger/fabric-samples/chaincode/sacc</Path>\\n </Result>\\n</InstallFabricChaincodeResponse>","errorExample":""}]', - 'title' => '安装链码', - 'summary' => '调用InstallFabricChaincode安装链码。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Password\\": \\"password\\",\\n \\"ExpireTime\\": \\"1533025590\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w****\\",\\n \\"Username\\": \\"username\\",\\n \\"Fullname\\": \\"username\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<ResetFabricOrganizationUserPasswordResponse>\\r\\n\\t<Result>\\r\\n\\t\\t<Password>v32n9rzhxqk7</Password>\\r\\n\\t\\t<CreateTime>1542086619000</CreateTime>\\r\\n\\t\\t<ExpireTime>1542086619000</ExpireTime>\\r\\n\\t\\t<Fullname>fullname</Fullname>\\r\\n\\t\\t<Username>asian01</Username>\\r\\n\\t\\t<OrganizationId>peers-asianbank-1c0w455jb****</OrganizationId>\\r\\n\\t</Result>\\r\\n\\t<RequestId>2A3ABD81-95F5-4931-ACB3-31BDAE561FC7</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</ResetFabricOrganizationUserPasswordResponse>","errorExample":""}]', + 'title' => '重置用户密码', + 'summary' => '调用ResetFabricOrganizationUserPassword重置用户密码。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CheckFabricConsortiumDomain' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:ResetFabricOrganizationUserPassword', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'SubmitFabricChaincodeDefinition' => [ + 'summary' => '提交2.0版本链码定义。', + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'DomainCode', + 'name' => 'OrganizationId', 'in' => 'formData', - 'schema' => [ - 'description' => '联盟域名。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'bank', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], + ], + [ + 'name' => 'ChaincodePackageId', + 'in' => 'formData', + 'schema' => ['description' => '链码包ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860'], + ], + [ + 'name' => 'EndorsePolicy', + 'in' => 'formData', + 'schema' => ['description' => '背书规则', 'type' => 'string', 'required' => true, 'example' => 'OR ("perf9141MSP.member")'], + ], + [ + 'name' => 'Location', + 'in' => 'formData', + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'CollectionConfig', + 'in' => 'formData', + 'schema' => ['description' => 'collection配置', 'type' => 'string', 'required' => false, 'example' => 'collectionconfig'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '链码包名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sacc'], + ], + [ + 'name' => 'InitRequired', + 'in' => 'formData', + 'schema' => ['description' => '是否需要初始化', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'ChannelId', + 'in' => 'formData', + 'schema' => ['description' => '通道ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chan-channelx-1l1hmckuuisxo'], + ], + [ + 'name' => 'ChaincodeVersion', + 'in' => 'formData', + 'schema' => ['description' => '链码版本', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1.0'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '结果', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '8F80A214-89FC-4348-9B3F-15446B3DC1FA', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Result' => [ - 'description' => '处理结果', - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '域名', - 'type' => 'string', - 'example' => 'bank', - ], - 'Valid' => [ - 'description' => '是否合法', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Prompt' => [ - 'description' => '提示', - 'type' => 'string', - 'example' => 'OK', - ], - ], - ], + 'Message' => ['description' => '接口请求返回的信息', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Result' => ['description' => '结果', '$ref' => '#/components/schemas/ChaincodeVO'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8F80A214-89FC-4348-9B3F-15446B3DC1FA\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Domain\\": \\"bank\\",\\n \\"Valid\\": true,\\n \\"Prompt\\": \\"OK\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CheckFabricConsortiumDomainResponse>\\r\\n <Result>\\r\\n\\t\\t<Prompt>OK</Prompt>\\r\\n\\t\\t<Domain>bank</Domain>\\r\\n\\t\\t<Valid>true</Valid>\\r\\n\\t</Result>\\r\\n\\t<RequestId>8F80A214-89FC-4348-9B3F-15446B3DC1FA</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</CheckFabricConsortiumDomainResponse>","errorExample":""}]', - 'title' => '检查联盟域名是否可用', - 'summary' => '调用CheckFabricConsortiumDomain检查联盟域名是否可用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'SynchronizeFabricChaincode' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'ResourceNotFound.Organization', 'errorMessage' => 'The specified organization [%s] does not exist.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'GovernorException', 'errorMessage' => 'An error in the backend management service has occurred. [%s]', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"OK\\",\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Name\\": \\"sacc\\",\\n \\"Version\\": \\"1.1\\",\\n \\"Input\\": \\"args:\\\\\\"key\\\\\\" args:\\\\\\"val\\\\\\"\\",\\n \\"Type\\": 0,\\n \\"State\\": \\"Pending\\",\\n \\"Path\\": \\"chaincode/sacc\\",\\n \\"ChaincodeId\\": \\"code-sacc-jbkuldd3i7ad\\",\\n \\"Install\\": true,\\n \\"Message\\": \\"ok\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"DeployTime\\": \\"1533025590\\",\\n \\"ChannelName\\": \\"f100\\",\\n \\"EndorsePolicy\\": \\"OR (\\\\\\"perf9141MSP.member\\\\\\")\\",\\n \\"ConsortiumId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"ProviderId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"ProviderName\\": \\"perf9141\\",\\n \\"ChannelId\\": \\"chan-test-b0wx5suhgyb9p\\",\\n \\"Management\\": false,\\n \\"ChaincodePackageId\\": \\"sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860\\",\\n \\"InitRequired\\": false,\\n \\"ChaincodeDefinitionId\\": \\"a5f04baed775b016e8dc386783f40a2c8b13823cac22bc5fd11846cca4a13a9a\\"\\n }\\n}","type":"json"}]', + 'title' => '提交链码定义', + 'changeSet' => [ + ['createdAt' => '2022-02-28T10:34:55.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:SubmitFabricChaincodeDefinition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'SynchronizeFabricChaincode' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'OrganizationId', 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w****', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****'], ], [ 'name' => 'ChaincodeId', 'in' => 'formData', - 'schema' => [ - 'description' => '链码ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'code-sacc-1pr09q7jm****', - ], + 'schema' => ['description' => '链码ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'code-sacc-1pr09q7jm****'], ], ], 'responses' => [ @@ -14978,107 +9158,29 @@ 'description' => '返回参数', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => '类型', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EndorsePolicy' => [ - 'description' => '背书策略', - 'type' => 'string', - 'example' => 'OR (\'aaaaaa1MSP.peer\')', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ChaincodeId' => [ - 'description' => '链码ID', - 'type' => 'string', - 'example' => 'code-sacc-1pr09q7jm****', - ], - 'ProviderName' => [ - 'description' => '上传者', - 'type' => 'string', - 'example' => 'name', - ], - 'Message' => [ - 'description' => '信息', - 'type' => 'string', - 'example' => 'ok', - ], - 'ChaincodeName' => [ - 'description' => '链码名', - 'type' => 'string', - 'example' => 'mychaincode', - ], - 'Input' => [ - 'description' => '输入', - 'type' => 'string', - 'example' => 'input', - ], - 'Install' => [ - 'description' => 'false', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ProviderId' => [ - 'description' => '上传者ID', - 'type' => 'string', - 'example' => 'provider', - ], - 'DeployTime' => [ - 'description' => '部署时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ChaincodeVersion' => [ - 'description' => '链码版本', - 'type' => 'string', - 'example' => '1.0', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', - ], - 'ChannelName' => [ - 'description' => '通道名', - 'type' => 'string', - 'example' => 'chan-channelx-1l1hmckuuisxo', - ], - 'Path' => [ - 'description' => '路径', - 'type' => 'string', - 'example' => 'go-sdk-demo/chaincode/src', - ], + 'Type' => ['description' => '类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'EndorsePolicy' => ['description' => '背书策略', 'type' => 'string', 'example' => 'OR (\'aaaaaa1MSP.peer\')'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Running'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1533025590'], + 'ChaincodeId' => ['description' => '链码ID', 'type' => 'string', 'example' => 'code-sacc-1pr09q7jm****'], + 'ProviderName' => ['description' => '上传者', 'type' => 'string', 'example' => 'name'], + 'Message' => ['description' => '信息', 'type' => 'string', 'example' => 'ok'], + 'ChaincodeName' => ['description' => '链码名', 'type' => 'string', 'example' => 'mychaincode'], + 'Input' => ['description' => '输入', 'type' => 'string', 'example' => 'input'], + 'Install' => ['description' => 'false', 'type' => 'boolean', 'example' => 'false'], + 'ProviderId' => ['description' => '上传者ID', 'type' => 'string', 'example' => 'provider'], + 'DeployTime' => ['description' => '部署时间', 'type' => 'string', 'example' => '1533025590'], + 'ChaincodeVersion' => ['description' => '链码版本', 'type' => 'string', 'example' => '1.0'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****'], + 'ChannelName' => ['description' => '通道名', 'type' => 'string', 'example' => 'chan-channelx-1l1hmckuuisxo'], + 'Path' => ['description' => '路径', 'type' => 'string', 'example' => 'go-sdk-demo/chaincode/src'], ], ], ], @@ -15087,65 +9189,85 @@ ], 'errorCodes' => [ 409 => [ - [ - 'errorCode' => 'Chaincode.Duplicated', - 'errorMessage' => 'ChainCode [%s] with version [%s] already exists', - ], + ['errorCode' => 'Chaincode.Duplicated', 'errorMessage' => 'ChainCode [%s] with version [%s] already exists', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Type\\": 1,\\n \\"EndorsePolicy\\": \\"OR (\'aaaaaa1MSP.peer\')\\",\\n \\"State\\": \\"Running\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"ChaincodeId\\": \\"code-sacc-1pr09q7jm****\\",\\n \\"ProviderName\\": \\"name\\",\\n \\"Message\\": \\"ok\\",\\n \\"ChaincodeName\\": \\"mychaincode\\",\\n \\"Input\\": \\"input\\",\\n \\"Install\\": false,\\n \\"ProviderId\\": \\"provider\\",\\n \\"DeployTime\\": \\"1533025590\\",\\n \\"ChaincodeVersion\\": \\"1.0\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwl****\\",\\n \\"ChannelName\\": \\"chan-channelx-1l1hmckuuisxo\\",\\n \\"Path\\": \\"go-sdk-demo/chaincode/src\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<SynchronizeFabricChaincodeResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Type>1</Type>\\n <EndorsePolicy>OR (\'aaaaaa1MSP.peer\')</EndorsePolicy>\\n <State>Running</State>\\n <CreateTime>1533025590</CreateTime>\\n <ChaincodeId>code-sacc-1pr09q7jm****</ChaincodeId>\\n <ProviderName>name</ProviderName>\\n <Message>ok</Message>\\n <ChaincodeName>mychaincode</ChaincodeName>\\n <Input>input</Input>\\n <Install>false</Install>\\n <ProviderId>provider</ProviderId>\\n <DeployTime>1533025590</DeployTime>\\n <ChaincodeVersion>1.0</ChaincodeVersion>\\n <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>\\n <ChannelName>chan-channelx-1l1hmckuuisxo</ChannelName>\\n <Path>go-sdk-demo/chaincode/src</Path>\\n </Result>\\n</SynchronizeFabricChaincodeResponse>","errorExample":""}]', 'title' => '同步链码的升级和实例化的状态', 'summary' => '调用SynchronizeFabricChaincode同步链码的升级和实例化的状态。', - ], - 'DownloadFabricOrganizationSDK' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:SynchronizeFabricChaincode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'TagResources' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'OrganizationId', + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ - 'description' => '组织ID', + 'description' => '取值"consortium"(联盟)或"organization"(组织)。', 'type' => 'string', 'required' => true, 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w****', + 'example' => 'organization', + 'enum' => ['organization', 'consortium'], ], ], [ - 'name' => 'Username', + 'name' => 'ResourceId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '用户名', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'username', + 'description' => '实例Id,N取值[1,50]。', + 'type' => 'array', + 'items' => ['description' => '资源ID,N取值1~50', 'type' => 'string', 'required' => false, 'example' => 'peers-tf000eihjli000shanghai-yqxvj5***'], + 'required' => false, + 'example' => 'peers-tf000eihjli000beijing-bl6rdwi82tget', + 'maxItems' => 51, ], ], [ - 'name' => 'Location', - 'in' => 'formData', + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '位置', - 'type' => 'string', + 'description' => '标签列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'Tag Key值,N取值1~20。', 'type' => 'string', 'required' => false, 'example' => 'key1'], + 'Value' => ['description' => 'Tag Value值,N取值1~20,需与Tag Key对应。', 'type' => 'string', 'required' => false, 'example' => 'value1'], + ], + 'required' => false, + 'description' => '', + ], 'required' => false, - 'example' => 'cn-hangzhou', + 'maxItems' => 21, ], ], ], @@ -15154,110 +9276,166 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Result' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Path' => [ - 'description' => '文件解压后的路径', - 'type' => 'string', - 'example' => 'dir/file', - ], - 'Content' => [ - 'description' => 'base64转码过的文件内容,需要用base64解码才能得到文件原内容', - 'type' => 'string', - 'example' => 'base64string', - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '21B8738D-254C-4933-9FC1-3C31B2611482'], + 'Result' => ['description' => '结果值。', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Path\\": \\"dir/file\\",\\n \\"Content\\": \\"base64string\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DownloadFabricOrganizationSDKResponse>\\n <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Path>dir/file</Path>\\n <Content>base64string</Content>\\n </Result>\\n</DownloadFabricOrganizationSDKResponse>","errorExample":""}]', - 'title' => '下载SDK', - 'summary' => '调用DownloadFabricOrganizationSDK下载SDK。', - ], - 'ResetFabricOrganizationUserPassword' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter.%s', 'errorMessage' => '%s', 'description' => ''], + ['errorCode' => 'MissingParameter.%s', 'errorMessage' => '%s', 'description' => ''], + ['errorCode' => 'MatchResource.%s', 'errorMessage' => 'Could\'t match resource [%s]', 'description' => ''], + ['errorCode' => 'InvalidTagsCount.%s', 'errorMessage' => 'Could\'t insert/update resouce [%s] tag', 'description' => ''], + ['errorCode' => 'ConvertFailed.%s', 'errorMessage' => 'Could\'t convert parameter [%s]', 'description' => ''], + ['errorCode' => 'ParameterConstraints.%s', 'errorMessage' => 'Could\'t accept duplicate keys [%s]', 'description' => ''], + ], + [ + ['errorCode' => 'InvalidAuthority.%s', 'errorMessage' => 'Could\'t operate resource [%s]', 'description' => ''], + ], + 503 => [ + ['errorCode' => '%d', 'errorMessage' => '%s', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"21B8738D-254C-4933-9FC1-3C31B2611482\\",\\n \\"Result\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>21B8738D-254C-4933-9FC1-3C31B2611482</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</TagResourcesResponse>","errorExample":""}]', + 'title' => 'TagResources', + 'summary' => '对联盟或组织做标记。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:TagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UnfreezeAntChainAccount' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'OrganizationId', + 'name' => 'AntChainId', 'in' => 'formData', + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1q8B5R9p'], + ], + [ + 'name' => 'Account', + 'in' => 'formData', + 'schema' => ['description' => '账户名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'accountname'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w****', + 'type' => 'object', + 'properties' => [ + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6ED983D3-C131-4104-8BDD-1F37992258E1'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"6ED983D3-C131-4104-8BDD-1F37992258E1\\"\\n}","errorExample":""},{"type":"xml","example":"<UnfreezeAntChainAccountResponse>\\r\\n\\t<code>200</code>\\r\\n\\t<data>\\r\\n\\t\\t<RequestId>6ED983D3-C131-4104-8BDD-1F37992258E1</RequestId>\\r\\n\\t\\t<Result>success</Result>\\r\\n\\t</data>\\r\\n\\t<requestId>6ED983D3-C131-4104-8BDD-1F37992258E1</requestId>\\r\\n\\t<successResponse>true</successResponse>\\r\\n</UnfreezeAntChainAccountResponse>","errorExample":""}]', + 'title' => '解冻一个蚂蚁区块链上的账户', + 'summary' => '解冻一个蚂蚁区块链上的账户。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Username', - 'in' => 'formData', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UnfreezeAntChainAccount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UntagResources' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', 'schema' => [ - 'description' => '用户名', + 'description' => '取值"consortium"(联盟)或"organization"(组织)。', 'type' => 'string', 'required' => true, 'docRequired' => true, - 'example' => 'username', + 'example' => 'organization', + 'enum' => ['organization', 'consortium'], ], ], [ - 'name' => 'Password', - 'in' => 'formData', + 'name' => 'All', + 'in' => 'query', + 'schema' => ['description' => '是否删除实例所有的TagKey,仅当TagKey为空时有效。', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'true', 'default' => 'false'], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '密码', - 'type' => 'string', - 'required' => true, - 'example' => 'pwd', - 'docRequired' => true, + 'type' => 'array', + 'items' => ['description' => '实例Id,N取值0,50。不可重复。', 'type' => 'string', 'required' => false, 'example' => 'peers-tf000eihjli000shanghai-yqxvj52lruxx'], + 'required' => false, + 'maxItems' => 51, + 'description' => '', ], ], [ - 'name' => 'Location', - 'in' => 'formData', + 'name' => 'TagKey', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '位置', - 'type' => 'string', + 'type' => 'array', + 'items' => ['description' => 'Tag Key值,N取值1,20。不可重复。', 'type' => 'string', 'required' => false, 'example' => 'key1'], 'required' => false, - 'example' => 'cn-hangzhou', + 'maxItems' => 21, + 'description' => '', ], ], ], @@ -15266,111 +9444,72 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Result' => [ - 'description' => '结果', - 'type' => 'object', - 'properties' => [ - 'Password' => [ - 'description' => '密码', - 'type' => 'string', - 'example' => 'password', - ], - 'ExpireTime' => [ - 'description' => '过期时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'OrganizationId' => [ - 'description' => '组织ID', - 'type' => 'string', - 'example' => 'peers-aaaaaa2-1eqnj5o5w****', - ], - 'Username' => [ - 'description' => '用户名', - 'type' => 'string', - 'example' => 'username', - ], - 'Fullname' => [ - 'description' => '全名', - 'type' => 'string', - 'example' => 'username', - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '21B8738D-254C-4933-9FC1-3C31B2611482'], + 'Result' => ['description' => '结果值。', 'type' => 'boolean', 'example' => 'true'], + 'Success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Password\\": \\"password\\",\\n \\"ExpireTime\\": \\"1533025590\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"OrganizationId\\": \\"peers-aaaaaa2-1eqnj5o5w****\\",\\n \\"Username\\": \\"username\\",\\n \\"Fullname\\": \\"username\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<ResetFabricOrganizationUserPasswordResponse>\\r\\n\\t<Result>\\r\\n\\t\\t<Password>v32n9rzhxqk7</Password>\\r\\n\\t\\t<CreateTime>1542086619000</CreateTime>\\r\\n\\t\\t<ExpireTime>1542086619000</ExpireTime>\\r\\n\\t\\t<Fullname>fullname</Fullname>\\r\\n\\t\\t<Username>asian01</Username>\\r\\n\\t\\t<OrganizationId>peers-asianbank-1c0w455jb****</OrganizationId>\\r\\n\\t</Result>\\r\\n\\t<RequestId>2A3ABD81-95F5-4931-ACB3-31BDAE561FC7</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</ResetFabricOrganizationUserPasswordResponse>","errorExample":""}]', - 'title' => '重置用户密码', - 'summary' => '调用ResetFabricOrganizationUserPassword重置用户密码。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'CheckFabricOrganizationDomain' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter.%s', 'errorMessage' => '%s', 'description' => ''], + ['errorCode' => 'MissingParameter.%s', 'errorMessage' => '%s', 'description' => ''], + ['errorCode' => 'MatchResource.%s', 'errorMessage' => 'Could\'t match resource [%s]', 'description' => ''], + ['errorCode' => 'InvalidTagsCount.%s', 'errorMessage' => 'Could\'t insert/update resouce [%s] tag', 'description' => ''], + ['errorCode' => 'ConvertFailed.%s', 'errorMessage' => 'Could\'t convert parameter [%s]', 'description' => ''], + ['errorCode' => 'ParameterConstraints.%s', 'errorMessage' => 'Could\'t accept duplicate keys [%s]', 'description' => ''], + ], + [ + ['errorCode' => 'InvalidAuthority.%s', 'errorMessage' => 'Could\'t operate resource [%s]', 'description' => ''], + ], + 503 => [ + ['errorCode' => '%s', 'errorMessage' => '%s', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"21B8738D-254C-4933-9FC1-3C31B2611482\\",\\n \\"Result\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\n <RequestId>21B8738D-254C-4933-9FC1-3C31B2611482</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</UntagResourcesResponse>","errorExample":""}]', + 'title' => '删除资源的标记', + 'summary' => '删除资源的标记。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UntagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateAntChain' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'DomainCode', + 'name' => 'AntChainId', 'in' => 'formData', - 'schema' => [ - 'description' => '域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'bank', - 'default' => 'canyouguessme', - ], + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v'], ], [ - 'name' => 'Domain', + 'name' => 'AntChainName', 'in' => 'formData', - 'schema' => [ - 'description' => '域名前缀。'."\n" - ."\n" - .'不需要包含`DescribeRootDomain`接口获取的根域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'bank', - 'default' => 'canyouguessme', - ], + 'schema' => ['description' => '区块链名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '修改名称'], ], ], 'responses' => [ @@ -15378,124 +9517,131 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'C30A14C7-800E-468B-9EB2-C704DA49295E', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Result' => [ - 'description' => '检查结果', - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '返回用户输入的域名', - 'type' => 'string', - 'example' => 'bank', - ], - 'Valid' => [ - 'description' => '是否有效', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Prompt' => [ - 'description' => '提示', - 'type' => 'string', - 'example' => 'OK', - ], - ], - ], + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'F6A52E53-2CCB-4C3C-A44D-45FAEBC24E47'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C30A14C7-800E-468B-9EB2-C704DA49295E\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Domain\\": \\"bank\\",\\n \\"Valid\\": true,\\n \\"Prompt\\": \\"OK\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CheckFabricOrganizationDomainResponse>\\r\\n\\t<Result>\\r\\n\\t\\t<Prompt>OK</Prompt>\\r\\n\\t\\t<Domain>canyouguessme</Domain>\\r\\n\\t\\t<Valid>true</Valid>\\r\\n\\t</Result>\\r\\n\\t<RequestId>C30A14C7-800E-468B-9EB2-C704DA49295E</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</CheckFabricOrganizationDomainResponse>","errorExample":""}]', - 'title' => '检查域名是否可用', - 'summary' => '调用CheckFabricOrganizationDomain检查域名是否可用。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"F6A52E53-2CCB-4C3C-A44D-45FAEBC24E47\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '更新一条蚂蚁区块链名字', + 'summary' => '更新一条蚂蚁区块链名字。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpgradeFabricChaincode' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpdateAntChain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateAntChainConsortium' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'OrganizationId', + 'name' => 'ConsortiumId', 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-wholesaler-15ix77tof****', - ], + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'q0oWq92P'], ], [ - 'name' => 'ChaincodeId', + 'name' => 'ConsortiumName', 'in' => 'formData', - 'schema' => [ - 'description' => '链码ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'code-sacc-fk9z4r97****', - ], + 'schema' => ['description' => '联盟名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '联盟名称'], ], [ - 'name' => 'EndorsePolicy', + 'name' => 'ConsortiumDescription', 'in' => 'formData', + 'schema' => ['description' => '联盟描述', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '测试联盟'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '背书策略', - 'type' => 'string', - 'required' => false, - 'example' => 'OR ("wholesalerMSP.peer")', + 'type' => 'object', + 'properties' => [ + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1E55C947-19B4-4AAD-9D22-0B8DA8904B3D'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"1E55C947-19B4-4AAD-9D22-0B8DA8904B3D\\"\\n}","errorExample":""},{"type":"xml","example":"<xml version=\\"1.0\\" encoding=\\"UTF-8\\" >\\n\\t<code>200</code>\\n\\t<data>\\n\\t\\t<RequestId>1E55C947-19B4-4AAD-9D22-0B8DA8904B3D</RequestId>\\n\\t\\t<Result>success</Result>\\n\\t</data>\\n\\t<requestId>1E55C947-19B4-4AAD-9D22-0B8DA8904B3D</requestId>\\n\\t<successResponse>true</successResponse>\\n</xml>\\n","errorExample":""}]', + 'title' => '更新联盟属性', + 'summary' => '更新联盟属性。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Location', - 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpdateAntChainConsortium', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'UpdateAntChainContractContent' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'CollectionConfig', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'ContentId', 'in' => 'formData', - 'schema' => [ - 'description' => '隐私数据集配置', - 'type' => 'string', - 'required' => false, - 'example' => '[{"requiredPeerCount":0,"name":"collectionName","maxPeerCount":3,"blockToLive":0,"policy":"OR(\'Org1MSP.peer\')"}]', - ], + 'schema' => ['description' => '文件ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'R6XMn59e'], + ], + [ + 'name' => 'ParentContentId', + 'in' => 'formData', + 'schema' => ['description' => '上级目录ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'R38DYDop'], + ], + [ + 'name' => 'ContentName', + 'in' => 'formData', + 'schema' => ['description' => '更新文件/文件夹名称', 'type' => 'string', 'required' => false, 'example' => 'newFile'], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => ['description' => '文件内容', 'type' => 'string', 'required' => false, 'example' => 'update content'], ], ], 'responses' => [ @@ -15503,196 +9649,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'A6CC6C63-2D71-4D0C-AEBE-E95F0127C514', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Result' => [ - 'description' => '结果', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '类型', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EndorsePolicy' => [ - 'description' => '背书策略', - 'type' => 'string', - 'example' => 'OR ("wholesalerMSP.peer")', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1545215617000', - ], - 'ChaincodeId' => [ - 'description' => '链码ID', - 'type' => 'string', - 'example' => 'code-sacc-fk9z4r97****', - ], - 'ProviderName' => [ - 'description' => '上传者', - 'type' => 'string', - 'example' => 'uid-1928592', - ], - 'Message' => [ - 'description' => '消息', - 'type' => 'string', - 'example' => 'OK', - ], - 'ChaincodeName' => [ - 'description' => '链码名', - 'type' => 'string', - 'example' => 'mychaincode', - ], - 'Input' => [ - 'description' => '输入', - 'type' => 'string', - 'example' => 'input', - ], - 'Install' => [ - 'description' => '是否安装', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ProviderId' => [ - 'description' => '上传者ID', - 'type' => 'string', - 'example' => '1928592', - ], - 'DeployTime' => [ - 'description' => '部署时间', - 'type' => 'string', - 'example' => '1545215617000', - ], - 'ChaincodeVersion' => [ - 'description' => '链码版本', - 'type' => 'string', - 'example' => '1.0', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-supplychain-1pxzsp5tb****', - ], - 'ChannelName' => [ - 'description' => '通道名', - 'type' => 'string', - 'example' => 'cc', - ], - 'Path' => [ - 'description' => '路径', - 'type' => 'string', - 'example' => 'github.com/sacc', - ], - ], - ], + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '08CBD579-C430-4F1F-9011-C120FA1E9B97'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A6CC6C63-2D71-4D0C-AEBE-E95F0127C514\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Type\\": 1,\\n \\"EndorsePolicy\\": \\"OR (\\\\\\"wholesalerMSP.peer\\\\\\")\\",\\n \\"State\\": \\"Running\\",\\n \\"CreateTime\\": \\"1545215617000\\",\\n \\"ChaincodeId\\": \\"code-sacc-fk9z4r97****\\",\\n \\"ProviderName\\": \\"uid-1928592\\",\\n \\"Message\\": \\"OK\\",\\n \\"ChaincodeName\\": \\"mychaincode\\",\\n \\"Input\\": \\"input\\",\\n \\"Install\\": false,\\n \\"ProviderId\\": \\"1928592\\",\\n \\"DeployTime\\": \\"1545215617000\\",\\n \\"ChaincodeVersion\\": \\"1.0\\",\\n \\"ConsortiumId\\": \\"consortium-supplychain-1pxzsp5tb****\\",\\n \\"ChannelName\\": \\"cc\\",\\n \\"Path\\": \\"github.com/sacc\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<UpgradeFabricChaincodeResponse>\\n <RequestId>A6CC6C63-2D71-4D0C-AEBE-E95F0127C514</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Type>1</Type>\\n <EndorsePolicy>OR (\\"wholesalerMSP.peer\\")</EndorsePolicy>\\n <State>Running</State>\\n <CreateTime>1545215617000</CreateTime>\\n <ChaincodeId>code-sacc-fk9z4r97****</ChaincodeId>\\n <ProviderName>uid-1928592</ProviderName>\\n <Message>OK</Message>\\n <ChaincodeName>mychaincode</ChaincodeName>\\n <Input>input</Input>\\n <Install>false</Install>\\n <ProviderId>1928592</ProviderId>\\n <DeployTime>1545215617000</DeployTime>\\n <ChaincodeVersion>1.0</ChaincodeVersion>\\n <ConsortiumId>consortium-supplychain-1pxzsp5tb****</ConsortiumId>\\n <ChannelName>cc</ChannelName>\\n <Path>github.com/sacc</Path>\\n </Result>\\n</UpgradeFabricChaincodeResponse>","errorExample":""}]', - 'title' => '升级链码', - 'summary' => '调用UpgradeFabricChaincode升级链码。', - 'description' => '****', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"08CBD579-C430-4F1F-9011-C120FA1E9B97\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '更新一个合约工程的内容', + 'summary' => '更新一个合约工程的内容。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'InstantiateFabricChaincode' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpdateAntChainContractContent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateAntChainContractProject' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'OrganizationId', + 'name' => 'ProjectId', 'in' => 'formData', - 'schema' => [ - 'description' => '组织ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'peers-aaaaaa2-1eqnj5o5w****', - ], + 'schema' => ['description' => '合约工程ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK1b8Z'], ], [ - 'name' => 'ChaincodeId', + 'name' => 'ProjectName', 'in' => 'formData', - 'schema' => [ - 'description' => '链码ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cc-198jejf8f8****', - ], + 'schema' => ['description' => '合约工程名称', 'type' => 'string', 'required' => false, 'example' => '更新合约工程名称'], ], [ - 'name' => 'EndorsePolicy', - 'in' => 'formData', - 'schema' => [ - 'description' => '背书策略', - 'type' => 'string', - 'required' => false, - 'example' => 'OR ('perf9141MSP.member')', - ], - ], - [ - 'name' => 'Location', + 'name' => 'ProjectVersion', 'in' => 'formData', - 'schema' => [ - 'description' => '位置', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '合约工程版本', 'type' => 'string', 'required' => false, 'example' => 'v1.1.1'], ], [ - 'name' => 'CollectionConfig', + 'name' => 'ProjectDescription', 'in' => 'formData', - 'schema' => [ - 'description' => '隐私数据集配置:'."\n" - .'- name:隐私集合名称'."\n" - .'- maxPeerCount:该隐私集合在背书阶段最多分发到 N 个peer节点'."\n" - .'- requiredPeerCount:该隐私集合在背书阶段至少需要被分发到N个peer节点上,才认为交易成功'."\n" - .'- blockToLive:隐私交易上链后,隐私数据需要保留的时间(单位为区块高度),0 表示永久保存'."\n" - .'- policy:该隐私集合被允许分发到哪些 peer 节点上,格式同背书策略', - 'type' => 'string', - 'required' => false, - 'example' => '[{"requiredPeerCount":0,"name":"collectionName","maxPeerCount":3,"blockToLive":0,"policy":"OR(\'Org1MSP.peer\')"}]', - ], + 'schema' => ['description' => '合约工程描述', 'type' => 'string', 'required' => false, 'example' => '合约工程的版本描述'], ], ], 'responses' => [ @@ -15700,202 +9719,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Result' => [ - 'description' => '结果', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '类型', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EndorsePolicy' => [ - 'description' => '背书策略', - 'type' => 'string', - 'example' => 'OR (\'aaaaaa1MSP.peer\')', - ], - 'State' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Running', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ChaincodeId' => [ - 'description' => '链码ID', - 'type' => 'string', - 'example' => 'cc-198jejf8f8chi8', - ], - 'ProviderName' => [ - 'description' => '上传者', - 'type' => 'string', - 'example' => 'name', - ], - 'Message' => [ - 'description' => '信息', - 'type' => 'string', - 'example' => 'ok', - ], - 'ChaincodeName' => [ - 'description' => '链码名称', - 'type' => 'string', - 'example' => 'channelname', - ], - 'Input' => [ - 'description' => '输入', - 'type' => 'string', - 'example' => 'input', - ], - 'Install' => [ - 'description' => '是否安装', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ProviderId' => [ - 'description' => '上传者ID', - 'type' => 'string', - 'example' => 'id', - ], - 'DeployTime' => [ - 'description' => '部署时间', - 'type' => 'string', - 'example' => '1533025590', - ], - 'ChaincodeVersion' => [ - 'description' => '链码版本', - 'type' => 'string', - 'example' => '1.0', - ], - 'ConsortiumId' => [ - 'description' => '联盟ID', - 'type' => 'string', - 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', - ], - 'ChannelName' => [ - 'description' => '通道名', - 'type' => 'string', - 'example' => 'channelname', - ], - 'Path' => [ - 'description' => '路径', - 'type' => 'string', - 'example' => 'go-sdk-demo/chaincode/src', - ], - ], - ], + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9EBD381E-A19E-4875-8771-EDA08A0416D3'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Type\\": 1,\\n \\"EndorsePolicy\\": \\"OR (\'aaaaaa1MSP.peer\')\\",\\n \\"State\\": \\"Running\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"ChaincodeId\\": \\"cc-198jejf8f8chi8\\",\\n \\"ProviderName\\": \\"name\\",\\n \\"Message\\": \\"ok\\",\\n \\"ChaincodeName\\": \\"channelname\\",\\n \\"Input\\": \\"input\\",\\n \\"Install\\": false,\\n \\"ProviderId\\": \\"id\\",\\n \\"DeployTime\\": \\"1533025590\\",\\n \\"ChaincodeVersion\\": \\"1.0\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwlulg7\\",\\n \\"ChannelName\\": \\"channelname\\",\\n \\"Path\\": \\"go-sdk-demo/chaincode/src\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<InstantiateFabricChaincodeResponse>\\r\\n\\t<Result>\\r\\n\\t\\t<install>false</install>\\r\\n\\t\\t<channelName>mychannel</channelName>\\r\\n\\t\\t<input>args:&quot;john&quot; args:&quot;10&quot; </input>\\r\\n\\t\\t<ChaincodeName>mycc3</ChaincodeName>\\r\\n\\t\\t<Path>github.com/hyperledger/fabric-samples/chaincode/sacc</Path>\\r\\n\\t\\t<state>Running</state>\\r\\n\\t\\t<chaincodeId>cc-198jejf8f8chi8</chaincodeId>\\r\\n\\t\\t<type>1</type>\\r\\n\\t\\t<ChaincodeVersion>0.1</ChaincodeVersion>\\r\\n\\t\\t<ConsortiumId>consortium-lianmenyumingyi-hc5d1bwlulg7</ConsortiumId>\\r\\n\\t\\t<CreateTime>1533025590</CreateTime>\\r\\n\\t\\t<EndorsePolicy>OR (perf9141MSP.member)</EndorsePolicy>\\r\\n\\t\\t<Message>OK</Message>\\r\\n\\t</Result>\\r\\n\\t<RequestId>7D27692E-C501-4B1D-878C-0B869DD3D9E6</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n</InstantiateFabricChaincodeResponse>","errorExample":""}]', - 'title' => '实例化链码', - 'summary' => '调用InstantiateFabricChaincode实例化链码。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"9EBD381E-A19E-4875-8771-EDA08A0416D3\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '在联盟内更新一个合约工程的属性', + 'summary' => '在联盟内更新一个合约工程的属性。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'TagResources' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpdateAntChainContractProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateAntChainMember' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => '取值"consortium"(联盟)或"organization"(组织)。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'organization', - 'enum' => [ - 'organization', - 'consortium', - ], - ], + 'name' => 'MemberName', + 'in' => 'formData', + 'schema' => ['description' => '成员名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'updatename'], ], [ - 'name' => 'ResourceId', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '实例Id,N取值[1,50]。', - 'type' => 'array', - 'items' => [ - 'description' => '资源ID,N取值1~50', - 'type' => 'string', - 'required' => false, - 'example' => 'peers-tf000eihjli000shanghai-yqxvj5***', - ], - 'required' => false, - 'example' => 'peers-tf000eihjli000beijing-bl6rdwi82tget', - 'maxItems' => 51, - ], + 'name' => 'ConsortiumId', + 'in' => 'formData', + 'schema' => ['description' => '联盟ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AroN3X2l'], ], [ - 'name' => 'Tag', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '标签列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'Tag Key值,N取值1~20。', - 'type' => 'string', - 'required' => false, - 'example' => 'key1', - ], - 'Value' => [ - 'description' => 'Tag Value值,N取值1~20,需与Tag Key对应。', - 'type' => 'string', - 'required' => false, - 'example' => 'value1', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 21, - ], + 'name' => 'MemberId', + 'in' => 'formData', + 'schema' => ['description' => '成员ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1287126353301234'], ], ], 'responses' => [ @@ -15903,88 +9784,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '21B8738D-254C-4933-9FC1-3C31B2611482', - ], - 'Result' => [ - 'description' => '结果值。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '调用是否成功。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E'], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameter.%s', - 'errorMessage' => '%s', - ], - [ - 'errorCode' => 'MissingParameter.%s', - 'errorMessage' => '%s', - ], - [ - 'errorCode' => 'MatchResource.%s', - 'errorMessage' => 'Could\'t match resource [%s]', - ], - [ - 'errorCode' => 'InvalidTagsCount.%s', - 'errorMessage' => 'Could\'t insert/update resouce [%s] tag', - ], - [ - 'errorCode' => 'ConvertFailed.%s', - 'errorMessage' => 'Could\'t convert parameter [%s]', - ], - [ - 'errorCode' => 'ParameterConstraints.%s', - 'errorMessage' => 'Could\'t accept duplicate keys [%s]', - ], - ], - [ - [ - 'errorCode' => 'InvalidAuthority.%s', - 'errorMessage' => 'Could\'t operate resource [%s]', - ], - ], - 503 => [ - [ - 'errorCode' => '%d', - 'errorMessage' => '%s', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"21B8738D-254C-4933-9FC1-3C31B2611482\\",\\n \\"Result\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>21B8738D-254C-4933-9FC1-3C31B2611482</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</TagResourcesResponse>","errorExample":""}]', - 'title' => 'TagResources', - 'summary' => '对联盟或组织做标记。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E\\"\\n}","errorExample":""},{"type":"xml","example":"<xml version=\\"1.0\\" encoding=\\"UTF-8\\">\\n\\t<code>200</code>\\n\\t<data>\\n\\t\\t<RequestId>5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E</RequestId>\\n\\t\\t<Result>success</Result>\\n\\t</data>\\n\\t<requestId>5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E</requestId>\\n\\t<successResponse>true</successResponse>\\n</xml>\\n\\t\\n","errorExample":""}]', + 'title' => '更新联盟成员属性', + 'summary' => '更新联盟成员属性。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UntagResources' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpdateAntChainMember', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateAntChainQRCodeAuthorization' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15992,289 +9827,1976 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => '取值"consortium"(联盟)或"organization"(组织)。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'organization', - 'enum' => [ - 'organization', - 'consortium', - ], - ], + 'name' => 'AntChainId', + 'in' => 'formData', + 'schema' => ['description' => '区块链ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ'], ], [ - 'name' => 'All', - 'in' => 'query', - 'schema' => [ - 'description' => '是否删除实例所有的TagKey,仅当TagKey为空时有效。', - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - 'default' => 'false', - ], + 'name' => 'QRCodeType', + 'in' => 'formData', + 'schema' => ['description' => '二维码类型,当前可以选值为 MINI_APP_BROWSER_TRANSACTION 代表支付宝小程序区块链浏览器。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MINI_APP_BROWSER_TRANSACTION'], ], [ - 'name' => 'ResourceId', - 'in' => 'query', - 'style' => 'repeatList', + 'name' => 'AuthorizationType', + 'in' => 'formData', + 'schema' => ['description' => '授权类型, 当前可选值为 ALL_USER_AUTHORIZATION 代表授权所有用户,SPECIFIC_USER_AUTHORIZATION 代表授权部分用户,UNAUTHORIZED 代表未授权 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ALL_USER_AUTHORIZATION'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'type' => 'array', - 'items' => [ - 'description' => '实例Id,N取值0,50。不可重复。', - 'type' => 'string', - 'required' => false, - 'example' => 'peers-tf000eihjli000shanghai-yqxvj52lruxx', + 'type' => 'object', + 'properties' => [ + 'Result' => ['description' => '请求结果', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC'], ], - 'required' => false, - 'maxItems' => 51, + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateAntChainQRCodeAuthorizationResponse>\\n <Result>success</Result>\\n <RequestId>D68D66B6-1964-4073-8714-B49F5EF1AEFC</RequestId>\\n</UpdateAntChainQRCodeAuthorizationResponse>","errorExample":""}]', + 'title' => '设置蚂蚁区块链的交易二维码授权状态', + 'summary' => '设置蚂蚁区块链的交易二维码授权状态。', + 'changeSet' => [ + ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'TagKey', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'description' => 'Tag Key值,N取值1,20。不可重复。', - 'type' => 'string', - 'required' => false, - 'example' => 'key1', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpdateAntChainQRCodeAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'required' => false, - 'maxItems' => 21, ], ], ], + ], + 'UpgradeFabricChaincode' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'OrganizationId', + 'in' => 'formData', + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-wholesaler-15ix77tof****'], + ], + [ + 'name' => 'ChaincodeId', + 'in' => 'formData', + 'schema' => ['description' => '链码ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'code-sacc-fk9z4r97****'], + ], + [ + 'name' => 'EndorsePolicy', + 'in' => 'formData', + 'schema' => ['description' => '背书策略', 'type' => 'string', 'required' => false, 'example' => 'OR ("wholesalerMSP.peer")'], + ], + [ + 'name' => 'Location', + 'in' => 'formData', + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'CollectionConfig', + 'in' => 'formData', + 'schema' => ['description' => '隐私数据集配置', 'type' => 'string', 'required' => false, 'example' => '[{"requiredPeerCount":0,"name":"collectionName","maxPeerCount":3,"blockToLive":0,"policy":"OR(\'Org1MSP.peer\')"}]'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '21B8738D-254C-4933-9FC1-3C31B2611482', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A6CC6C63-2D71-4D0C-AEBE-E95F0127C514'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Result' => [ - 'description' => '结果值。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => '调用是否成功。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', + 'description' => '结果', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'EndorsePolicy' => ['description' => '背书策略', 'type' => 'string', 'example' => 'OR ("wholesalerMSP.peer")'], + 'State' => ['description' => '状态', 'type' => 'string', 'example' => 'Running'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1545215617000'], + 'ChaincodeId' => ['description' => '链码ID', 'type' => 'string', 'example' => 'code-sacc-fk9z4r97****'], + 'ProviderName' => ['description' => '上传者', 'type' => 'string', 'example' => 'uid-1928592'], + 'Message' => ['description' => '消息', 'type' => 'string', 'example' => 'OK'], + 'ChaincodeName' => ['description' => '链码名', 'type' => 'string', 'example' => 'mychaincode'], + 'Input' => ['description' => '输入', 'type' => 'string', 'example' => 'input'], + 'Install' => ['description' => '是否安装', 'type' => 'boolean', 'example' => 'false'], + 'ProviderId' => ['description' => '上传者ID', 'type' => 'string', 'example' => '1928592'], + 'DeployTime' => ['description' => '部署时间', 'type' => 'string', 'example' => '1545215617000'], + 'ChaincodeVersion' => ['description' => '链码版本', 'type' => 'string', 'example' => '1.0'], + 'ConsortiumId' => ['description' => '联盟ID', 'type' => 'string', 'example' => 'consortium-supplychain-1pxzsp5tb****'], + 'ChannelName' => ['description' => '通道名', 'type' => 'string', 'example' => 'cc'], + 'Path' => ['description' => '路径', 'type' => 'string', 'example' => 'github.com/sacc'], + ], ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameter.%s', - 'errorMessage' => '%s', - ], - [ - 'errorCode' => 'MissingParameter.%s', - 'errorMessage' => '%s', - ], - [ - 'errorCode' => 'MatchResource.%s', - 'errorMessage' => 'Could\'t match resource [%s]', - ], - [ - 'errorCode' => 'InvalidTagsCount.%s', - 'errorMessage' => 'Could\'t insert/update resouce [%s] tag', - ], - [ - 'errorCode' => 'ConvertFailed.%s', - 'errorMessage' => 'Could\'t convert parameter [%s]', - ], - [ - 'errorCode' => 'ParameterConstraints.%s', - 'errorMessage' => 'Could\'t accept duplicate keys [%s]', - ], - ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A6CC6C63-2D71-4D0C-AEBE-E95F0127C514\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Type\\": 1,\\n \\"EndorsePolicy\\": \\"OR (\\\\\\"wholesalerMSP.peer\\\\\\")\\",\\n \\"State\\": \\"Running\\",\\n \\"CreateTime\\": \\"1545215617000\\",\\n \\"ChaincodeId\\": \\"code-sacc-fk9z4r97****\\",\\n \\"ProviderName\\": \\"uid-1928592\\",\\n \\"Message\\": \\"OK\\",\\n \\"ChaincodeName\\": \\"mychaincode\\",\\n \\"Input\\": \\"input\\",\\n \\"Install\\": false,\\n \\"ProviderId\\": \\"1928592\\",\\n \\"DeployTime\\": \\"1545215617000\\",\\n \\"ChaincodeVersion\\": \\"1.0\\",\\n \\"ConsortiumId\\": \\"consortium-supplychain-1pxzsp5tb****\\",\\n \\"ChannelName\\": \\"cc\\",\\n \\"Path\\": \\"github.com/sacc\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<UpgradeFabricChaincodeResponse>\\n <RequestId>A6CC6C63-2D71-4D0C-AEBE-E95F0127C514</RequestId>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n <Result>\\n <Type>1</Type>\\n <EndorsePolicy>OR (\\"wholesalerMSP.peer\\")</EndorsePolicy>\\n <State>Running</State>\\n <CreateTime>1545215617000</CreateTime>\\n <ChaincodeId>code-sacc-fk9z4r97****</ChaincodeId>\\n <ProviderName>uid-1928592</ProviderName>\\n <Message>OK</Message>\\n <ChaincodeName>mychaincode</ChaincodeName>\\n <Input>input</Input>\\n <Install>false</Install>\\n <ProviderId>1928592</ProviderId>\\n <DeployTime>1545215617000</DeployTime>\\n <ChaincodeVersion>1.0</ChaincodeVersion>\\n <ConsortiumId>consortium-supplychain-1pxzsp5tb****</ConsortiumId>\\n <ChannelName>cc</ChannelName>\\n <Path>github.com/sacc</Path>\\n </Result>\\n</UpgradeFabricChaincodeResponse>","errorExample":""}]', + 'title' => '升级链码', + 'summary' => '调用UpgradeFabricChaincode升级链码。', + 'description' => '****', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - [ - 'errorCode' => 'InvalidAuthority.%s', - 'errorMessage' => 'Could\'t operate resource [%s]', - ], - ], - 503 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpgradeFabricChaincode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"21B8738D-254C-4933-9FC1-3C31B2611482\\",\\n \\"Result\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\n <RequestId>21B8738D-254C-4933-9FC1-3C31B2611482</RequestId>\\n <Result>true</Result>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</UntagResourcesResponse>","errorExample":""}]', - 'title' => '删除资源的标记', - 'summary' => '删除资源的标记。', ], - 'DescribeEthereumDeletable' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpgradeFabricChaincodeDefinition' => [ + 'summary' => '升级2.0版本链码包定义。', + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'EthereumId', + 'name' => 'OrganizationId', 'in' => 'formData', - 'schema' => [ - 'description' => '以太坊ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'eth-1ilrhcav4ibdl', - ], + 'schema' => ['description' => '组织ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'], + ], + [ + 'name' => 'ChaincodePackageId', + 'in' => 'formData', + 'schema' => ['description' => '链码包ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860'], + ], + [ + 'name' => 'EndorsePolicy', + 'in' => 'formData', + 'schema' => ['description' => '背书规则', 'type' => 'string', 'required' => true, 'example' => 'OR ("perf9141MSP.member")'], + ], + [ + 'name' => 'Location', + 'in' => 'formData', + 'schema' => ['description' => '位置', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'CollectionConfig', + 'in' => 'formData', + 'schema' => ['description' => 'collection配置信息', 'type' => 'string', 'required' => false, 'example' => 'collectionconfig'], + ], + [ + 'name' => 'ChaincodeId', + 'in' => 'formData', + 'schema' => ['description' => '链码ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'code-sacc-jbkuldd3i7ad'], + ], + [ + 'name' => 'InitRequired', + 'in' => 'formData', + 'schema' => ['description' => '是否需要初始化', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'ChaincodeVersion', + 'in' => 'formData', + 'schema' => ['description' => '链码版本', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1.1'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '结果', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', - ], - 'Success' => [ - 'description' => '是否成功。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => '错误码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Result' => [ - 'description' => '请求结果', - 'type' => 'object', - 'properties' => [ - 'EthereumId' => [ - 'description' => '以太坊ID', - 'type' => 'string', - 'example' => 'eth-1ilrhcav4ibdl', - ], - 'Deletable' => [ - 'description' => '是否可删除', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], + 'Message' => ['description' => '消息', 'type' => 'string', 'example' => 'ok'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1E55C947-19B4-4AAD-9D22-0B8DA8904B3D'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], + 'ErrorCode' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Result' => ['description' => '结果', 'example' => '链码信息', '$ref' => '#/components/schemas/ChaincodeVO'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ChaincodeDuplicated', 'errorMessage' => 'The chaincode [%s] of version [%s] already exists, please change the name or the version of the chaincode.', 'description' => ''], + ['errorCode' => 'Chaincode.Error', 'errorMessage' => 'The specified chaincode [%s] is invalid.', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound.Organization', 'errorMessage' => 'The specified organization [%s] does not exist.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"ok\\",\\n \\"RequestId\\": \\"1E55C947-19B4-4AAD-9D22-0B8DA8904B3D\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"Name\\": \\"sacc\\",\\n \\"Version\\": \\"1.1\\",\\n \\"Input\\": \\"args:\\\\\\"key\\\\\\" args:\\\\\\"val\\\\\\"\\",\\n \\"Type\\": 0,\\n \\"State\\": \\"Pending\\",\\n \\"Path\\": \\"chaincode/sacc\\",\\n \\"ChaincodeId\\": \\"code-sacc-jbkuldd3i7ad\\",\\n \\"Install\\": true,\\n \\"Message\\": \\"ok\\",\\n \\"CreateTime\\": \\"1533025590\\",\\n \\"DeployTime\\": \\"1533025590\\",\\n \\"ChannelName\\": \\"f100\\",\\n \\"EndorsePolicy\\": \\"OR (\\\\\\"perf9141MSP.member\\\\\\")\\",\\n \\"ConsortiumId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"ProviderId\\": \\"peers-aaaaaa2-1eqnj5o5w9dt3\\",\\n \\"ProviderName\\": \\"perf9141\\",\\n \\"ChannelId\\": \\"chan-test-b0wx5suhgyb9p\\",\\n \\"Management\\": false,\\n \\"ChaincodePackageId\\": \\"sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860\\",\\n \\"InitRequired\\": false,\\n \\"ChaincodeDefinitionId\\": \\"a5f04baed775b016e8dc386783f40a2c8b13823cac22bc5fd11846cca4a13a9a\\"\\n }\\n}","type":"json"}]', + 'title' => '升级链码包定义', + 'changeSet' => [ + ['createdAt' => '2022-02-28T10:34:55.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpgradeFabricChaincodeDefinition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"EthereumId\\": \\"eth-1ilrhcav4ibdl\\",\\n \\"Deletable\\": true\\n }\\n}","type":"json"}]', - 'title' => '获取以太坊是否可删除', ], ], 'endpoints' => [ + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'baas.aliyuncs.com', 'endpoint' => 'baas.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'baas.cn-hangzhou.aliyuncs.com', 'endpoint' => 'baas.cn-hangzhou.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'baas.aliyuncs.com', 'endpoint' => 'baas.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'baas.aliyuncs.com', 'endpoint' => 'baas.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'baas.aliyuncs.com', 'endpoint' => 'baas.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'baas.aliyuncs.com', 'endpoint' => 'baas.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'baas.aliyuncs.com', 'endpoint' => 'baas.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'baas.cn-north-2-gov-1.aliyuncs.com', 'endpoint' => 'baas.cn-north-2-gov-1.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [], + 'changeSet' => [ [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'baas.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'baas.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'baas.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'baas.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'baas.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'baas.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeAntChainTransactionStatistics'], + ['description' => '错误码发生变更', 'api' => 'DescribeRegions'], + ['description' => '错误码发生变更', 'api' => 'DescribeRootDomain'], + ], + 'createdAt' => '2024-07-11T11:54:49.000Z', + 'description' => '', ], [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'AcceptFabricInvitation'], + ['description' => '错误码发生变更', 'api' => 'CheckFabricConsortiumDomain'], + ['description' => '错误码发生变更', 'api' => 'CheckFabricOrganizationDomain'], + ['description' => '错误码发生变更', 'api' => 'CreateFabricConsortium'], + ], + 'createdAt' => '2024-07-05T10:13:40.000Z', + 'description' => '', ], [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'ApplyAntChainCertificate'], + ['description' => '错误码发生变更', 'api' => 'ApplyAntChainCertificateWithKeyAutoCreation'], + ['description' => '错误码发生变更', 'api' => 'BatchAddAntChainMiniAppQRCodeAuthorizedUsers'], + ['description' => '错误码发生变更', 'api' => 'CopyAntChainContractProject'], + ['description' => '错误码发生变更', 'api' => 'CreateAntChainAccount'], + ['description' => '错误码发生变更', 'api' => 'CreateAntChainAccountWithKeyPairAutoCreation'], + ['description' => '错误码发生变更', 'api' => 'CreateAntChainConsortium'], + ['description' => '错误码发生变更', 'api' => 'CreateAntChainContractContent'], + ['description' => '错误码发生变更', 'api' => 'CreateAntChainContractProject'], + ['description' => '错误码发生变更', 'api' => 'DeleteAntChainConsortium'], + ], + 'createdAt' => '2024-06-25T13:35:10.000Z', + 'description' => '', ], [ - 'regionId' => 'us-west-1', - 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeAntChainAccountsV2'], + ['description' => '错误码发生变更', 'api' => 'DescribeAntChainBlockV2'], + ['description' => '错误码发生变更', 'api' => 'DescribeAntChainCertificateApplicationsV2'], + ['description' => '错误码发生变更', 'api' => 'DescribeAntChainConsortiumsV2'], + ['description' => '错误码发生变更', 'api' => 'DescribeAntChainContractProjectContentTreeV2'], + ['description' => '错误码发生变更', 'api' => 'DescribeAntChainContractProjectsV2'], + ['description' => '错误码发生变更', 'api' => 'DescribeAntChainDownloadPathsV2'], + ['description' => '错误码发生变更', 'api' => 'DescribeAntChainInformationV2'], + ['description' => '错误码发生变更', 'api' => 'DescribeAntChainLatestBlocksV2'], + ], + 'createdAt' => '2024-06-20T05:48:12.000Z', + 'description' => '', ], [ - 'regionId' => 'us-east-1', - 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeAntChainInformation'], + ['description' => '错误码发生变更', 'api' => 'DescribeAntChainMiniAppBrowserTransactionQRCode'], + ], + 'createdAt' => '2023-04-18T03:54:22.000Z', + 'description' => '', ], [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', + 'apis' => [ + ['description' => '响应参数发生变更、错误码发生变更', 'api' => 'DescribeFabricConsortiums'], + ['description' => '响应参数发生变更、错误码发生变更', 'api' => 'DescribeFabricOrganizations'], + ], + 'createdAt' => '2023-03-24T08:19:59.000Z', + 'description' => '', ], [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', + 'apis' => [ + ['description' => '请求参数发生变更、错误码发生变更', 'api' => 'ConfirmFabricConsortiumMember'], + ['description' => '请求参数发生变更、错误码发生变更', 'api' => 'CreateFabricChannelMember'], + ], + 'createdAt' => '2022-08-05T08:54:22.000Z', + 'description' => '修改组织ID为必选参数,此前后端交易返回错误消息,现在从pop及文档上更新说明', ], [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'baas.cn-hangzhou.aliyuncs.com', + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'CreateAntChainKmsAccountNew'], + ], + 'createdAt' => '2022-06-01T09:47:51.000Z', + 'description' => '增加蚂蚁链创建托管账户功能', ], [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'ApproveFabricChaincodeDefinition'], + ['description' => 'OpenAPI 下线', 'api' => 'CreateFabricChaincodePackage'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeFabricChaincodeDefinitionTask'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeFabricOrganizationChaincodePackage'], + ['description' => 'OpenAPI 下线', 'api' => 'InstallFabricChaincodePackage'], + ['description' => 'OpenAPI 下线', 'api' => 'SubmitFabricChaincodeDefinition'], + ['description' => 'OpenAPI 下线', 'api' => 'UpgradeFabricChaincodeDefinition'], + ], + 'createdAt' => '2022-03-01T16:05:10.000Z', + 'description' => '增加Fabric2.x版本链码相关API', ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'baas.cn-north-2-gov-1.aliyuncs.com', + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ram' => [ + 'productCode' => 'BaaS', + 'productName' => '区块链服务', + 'ramCodes' => ['baas'], + 'ramLevel' => '资源级', + 'ramConditions' => [ + [ + 'name' => 'baas:EngineType', + 'schema' => ['type' => 'STRING', 'description' => 'baas的EngineType'], + ], + ], + 'ramActions' => [ + [ + 'apiName' => 'DeleteAntChainConsortium', + 'description' => '删除联盟', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'baas:DeleteAntChainConsortium', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricConsortiumChannels', + 'description' => 'DescribeFabricConsortiumChannels', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeConsortiumChannels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAntChainContractContent', + 'description' => '删除一个合约工程的内容', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'baas:DeleteAntChainContractContent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'InstallFabricChaincode', + 'description' => 'InstallFabricChaincode', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:InstallFabricChaincode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricExplorer', + 'description' => '浏览Fabric账本相关的信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricExplorer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ResetAntChainUserCertificate', + 'description' => '重置用户', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:ResetAntChainUserCertificate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainTransactionV2', + 'description' => '查询蚂蚁区块链交易信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainTransactionV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricCandidateOrganizations', + 'description' => '查询接收邀请的候选组织', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricCandidateOrganizations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainsV2', + 'description' => '获取联盟内的蚂蚁区块链列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricChaincodeUploadPolicy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricChaincodeUploadPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricInvitationCode', + 'description' => 'DescribeFabricInvitationCode', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricInvitationCode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateFabricChannel', + 'description' => 'CreateFabricChannel', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricChannel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainBlockV2', + 'description' => '根据块高查询一条蚂蚁区块链的区块信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainBlockV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainTransaction', + 'description' => '查询蚂蚁区块链交易信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainTransaction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateFabricConsortiumMember', + 'description' => 'CreateFabricConsortiumMember', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricConsortiumMember', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainMiniAppBrowserTransactionQRCodeNew', + 'description' => '获取蚂蚁区块链交易二维码', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMiniAppBrowserTransactionQRCodeNew', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateFabricOrganizationUser', + 'description' => '创建组织用户', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricOrganizationUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateAntChainConsortium', + 'description' => '更新联盟属性', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpdateAntChainConsortium', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2', + 'description' => '查询交易二维码授权扫码用户列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeEthereumDeletable', + 'description' => '获取以太坊是否可删除', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeEthereumDeletable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfirmFabricConsortiumMember', + 'description' => 'ConfirmFabricConsortiumMember', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:ConfirmFabricConsortiumMember', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsers', + 'description' => '查询二维码授权扫码用户列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainConsortiums', + 'description' => '获取联盟列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainConsortiums', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainMiniAppBrowserTransactionQRCode', + 'description' => '获取蚂蚁区块链交易二维码', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMiniAppBrowserTransactionQRCode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ResetFabricOrganizationUserPassword', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:ResetFabricOrganizationUserPassword', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainBlock', + 'description' => '根据块高查询一条蚂蚁区块链的区块信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainBlock', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ApproveFabricChaincodeDefinition', + 'description' => '批准链码定义', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:ApproveFabricChaincodeDefinition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'InstallFabricChaincodePackage', + 'description' => '安装2.0链码包', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:InstallFabricChaincodePackage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainDownloadPaths', + 'description' => '获取一条蚂蚁区块链相关证书下载地址', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainDownloadPaths', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainLatestTransactionDigests', + 'description' => 'DescribeAntChainLatestTransactionDigests', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainLatestTransactionDigests', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricOrganizationUsers', + 'description' => '获取组织的用户列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainInformationV2', + 'description' => 'DescribeAntChainInformationV2', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainInformationV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricConsortiumAdminStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumAdminStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainMembersV2', + 'description' => '获取联盟成员列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMembersV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainTransactionReceiptV2', + 'description' => '查询蚂蚁区块链交易回执信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainTransactionReceiptV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ResetAntChainCertificate', + 'description' => '重置证书', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:ResetAntChainCertificate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricConsortiumOrderers', + 'description' => '获取联盟的Orderer列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumOrderers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateAntChainKmsAccountNew', + 'description' => '创建蚂蚁链托管账户', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateAntChainKmsAccountNew', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UntagResources', + 'description' => 'UntagResources', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UntagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainLatestBlocks', + 'description' => '查询一条蚂蚁区块链最新的区块信息列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainLatestBlocks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainInformation', + 'description' => '查询一条蚂蚁区块链的基本信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainInformation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAntChainContractProject', + 'description' => '在联盟内删除一个合约工程', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'baas:DeleteAntChainContractProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainContractProjectContentTreeV2', + 'description' => '获取一个合约工程的内容树', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainContractProjectContentTreeV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricOrganizationChaincodePackage', + 'description' => '获取组织内链码包信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationChaincodePackage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainContractProjects', + 'description' => '获取联盟内合约工程的列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainContractProjects', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ApplyAntChainCertificateWithKeyAutoCreation', + 'description' => '申请链接一条蚂蚁区块链', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:ApplyAntChainCertificateWithKeyAutoCreation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListTagResources', + 'description' => 'ListTagResources', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:ListTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricConsortiumChaincodes', + 'description' => 'DescribeFabricConsortiumChaincodes', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumChaincodes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteFabricChaincode', + 'description' => '删除错误的链码', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'baas:DeleteFabricChaincode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricOrganizationMembers', + 'description' => 'DescribeFabricOrganizationMembers', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateFabricChannelMember', + 'description' => 'CreateFabricChannelMember', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricChannelMember', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateAntChainContractProject', + 'description' => '在联盟内更新一个合约工程的属性', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpdateAntChainContractProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AcceptFabricInvitation', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:AcceptFabricInvitation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeTasks', + 'description' => 'DescribeTasks', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainCertificateApplicationsV2', + 'description' => '查看申请连接蚂蚁区块链信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainCertificateApplicationsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainLatestTransactionDigestsV2', + 'description' => '查询一条蚂蚁区块链最新的交易摘要列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainLatestTransactionDigestsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'JoinFabricChannel', + 'description' => '确认加入通道', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:JoinFabricChannel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SubmitFabricChaincodeDefinition', + 'description' => '提交链码定义', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:SubmitFabricChaincodeDefinition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainLatestBlocksV2', + 'description' => '查询一条蚂蚁区块链最新的区块信息列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainLatestBlocksV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CheckFabricConsortiumDomain', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:CheckFabricConsortiumDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricOrganizationDeletable', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationDeletable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainAccounts', + 'description' => 'DescribeAntChainAccounts', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainAccounts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SynchronizeFabricChaincode', + 'description' => 'SynchronizeFabricChaincode', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:SynchronizeFabricChaincode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainContractProjectContentTree', + 'description' => '获取一个合约工程的内容树', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainContractProjectContentTree', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateAntChainMember', + 'description' => '更新联盟成员属性', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpdateAntChainMember', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateAntChainAccountWithKeyPairAutoCreation', + 'description' => 'CreateAntChainAccountWithKeyPairAutoCreation', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateAntChainAccountWithKeyPairAutoCreation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainQRCodeAuthorization', + 'description' => '查询蚂蚁区块链交易二维码授权状态', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainQRCodeAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'TagResources', + 'description' => 'TagResources', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:TagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateAntChainConsortium', + 'description' => '创建联盟', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateAntChainConsortium', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricPeerLogs', + 'description' => 'DescribeFabricPeerLogs', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricPeerLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DownloadFabricOrganizationSDK', + 'description' => 'DownloadFabricOrganizationSDK', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DownloadFabricOrganizationSDK', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainNodesV2', + 'description' => '查询蚂蚁区块链节点信息列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainNodesV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpgradeFabricChaincode', + 'description' => '升级链码', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpgradeFabricChaincode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpgradeFabricChaincodeDefinition', + 'description' => '升级链码包定义', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpgradeFabricChaincodeDefinition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricConsortiumMemberApproval', + 'description' => 'DescribeFabricConsortiumMemberApproval', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumMemberApproval', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateAntChainQRCodeAuthorization', + 'description' => '设置蚂蚁区块链的交易二维码授权状态', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpdateAntChainQRCodeAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainTransactionReceipt', + 'description' => '查询蚂蚁区块链交易回执信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainTransactionReceipt', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainContractProjectsV2', + 'description' => '获取联盟内合约工程列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainContractProjectsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateAntChainContractContent', + 'description' => '创建合约工程内容', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateAntChainContractContent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricOrganizationChannels', + 'description' => '获取该组织加入的通道列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationChannels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricOrganizationSpecs', + 'description' => 'DescribeFabricOrganizationSpecs', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationSpecs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UnfreezeAntChainAccount', + 'description' => '解冻一个蚂蚁区块链上的账户', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UnfreezeAntChainAccount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainAccountsV2', + 'description' => '查询一条蚂蚁区块链的账户列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainAccountsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateFabricChaincode', + 'description' => 'CreateFabricChaincode', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricChaincode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainMembers', + 'description' => '获取联盟成员列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainCertificateApplications', + 'description' => '查看联盟成员申请连接蚂蚁区块链信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainCertificateApplications', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricOrdererLogs', + 'description' => 'DescribeFabricOrdererLogs', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrdererLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'BatchAddAntChainMiniAppQRCodeAuthorizedUsers', + 'description' => '批量新增蚂蚁区块链的交易二维码扫码权限', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:BatchAddAntChainMiniAppQRCodeAuthorizedUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainMiniAppBrowserQRCodeAccessLog', + 'description' => '查询二维码支付宝端扫码统计信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAccessLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateAntChainContractProject', + 'description' => '在联盟内创建一个合约工程', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateAntChainContractProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChains', + 'description' => 'DescribeAntChains', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAntChainMiniAppQRCodeAuthorizedUser', + 'description' => '取消蚂蚁区块链的交易二维码扫码权限', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'baas:DeleteAntChainMiniAppQRCodeAuthorizedUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainTransactionStatisticsV2', + 'description' => '查询一条蚂蚁区块链的交易统计信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainTransactionStatisticsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainDownloadPathsV2', + 'description' => '获取一条蚂蚁区块链相关证书下载地址', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainDownloadPathsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricChaincodeDefinitionTask', + 'description' => '获取链码任务列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeChaincodeDefinitionTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricOrganization', + 'description' => 'DescribeFabricOrganization', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricConsortiumDeletable', + 'description' => 'DescribeFabricConsortiumDeletable', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumDeletable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainNodes', + 'description' => '查询蚂蚁区块链的节点信息列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainNodes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricOrganizationPeers', + 'description' => 'DescribeFabricOrganizationPeers', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationPeers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricConsortiums', + 'description' => 'DescribeFabricConsortiums', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiums', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CheckFabricOrganizationDomain', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:CheckFabricOrganizationDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateAntChainContractContent', + 'description' => '更新一个合约工程的内容', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpdateAntChainContractContent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricConsortiumSpecs', + 'description' => '查询联盟的规格列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumSpecs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateFabricChaincodePackage', + 'description' => '创建链码包定义', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricChaincodePackage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricChannelMembers', + 'description' => '查询通道的成员列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricChannelMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricConsortiumConfig', + 'description' => '获取“创建联盟”的参数可选值', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricConsortiumMembers', + 'description' => 'DescribeFabricConsortiumMembers', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricConsortiumMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricInviter', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricInviter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricOrganizationChaincodes', + 'description' => 'DescribeFabricOrganizationChaincodes', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizationChaincodes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateAntChain', + 'description' => '更新一条蚂蚁区块链名字', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:UpdateAntChain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateAntChainAccount', + 'description' => '在一条蚂蚁区块链上创建一个账户', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateAntChainAccount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateFabricConsortium', + 'description' => 'CreateFabricConsortium', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricConsortium', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainConsortiumsV2', + 'description' => '获取联盟列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainConsortiumsV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'InstantiateFabricChaincode', + 'description' => '实例化链码', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:InstantiateFabricChaincode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainTransactionStatistics', + 'description' => '查询一条蚂蚁区块链的交易统计信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainTransactionStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainMiniAppBrowserQRCodeAccessLogV2', + 'description' => '查询蚂蚁区块链支付宝端扫码统计信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAccessLogV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAntChainQRCodeAuthorizationV2', + 'description' => 'DescribeAntChainQRCodeAuthorizationV2', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeAntChainQRCodeAuthorizationV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ApplyAntChainCertificate', + 'description' => '申请链接蚂蚁区块链', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:ApplyAntChainCertificate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CopyAntChainContractProject', + 'description' => '在联盟内复制一个已有的合约工程', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:CopyAntChainContractProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateFabricOrganization', + 'description' => 'CreateFabricOrganization', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'baas:CreateFabricOrganization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'FreezeAntChainAccount', + 'description' => '冻结一个蚂蚁区块链上的账户', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'baas:FreezeAntChainAccount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFabricOrganizations', + 'description' => 'DescribeFabricOrganizations', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'baas:DescribeFabricOrganizations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'resourceTypes' => [], ], ]; |
