summaryrefslogtreecommitdiff
path: root/data/en_us/baas
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/baas
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/en_us/baas')
-rw-r--r--data/en_us/baas/2018-12-21/api-docs.php20914
1 files changed, 8681 insertions, 12233 deletions
diff --git a/data/en_us/baas/2018-12-21/api-docs.php b/data/en_us/baas/2018-12-21/api-docs.php
index f0520fb..96df812 100644
--- a/data/en_us/baas/2018-12-21/api-docs.php
+++ b/data/en_us/baas/2018-12-21/api-docs.php
@@ -1,116 +1,23 @@
<?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' => null,
- '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' => null,
'type' => 'directory',
- 'children' => [
- 'DescribeRegions',
- ],
+ 'title' => 'Ant blockchain',
],
[
- 'id' => 144885,
- 'title' => null,
- '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' => 144949,
- 'title' => null,
- 'type' => 'directory',
'children' => [
[
- 'id' => 144950,
- 'title' => null,
+ 'children' => ['CreateFabricChaincodePackage', 'SubmitFabricChaincodeDefinition', 'InstallFabricChaincodePackage', 'ApproveFabricChaincodeDefinition', 'UpgradeFabricChaincodeDefinition', 'DescribeFabricOrganizationChaincodePackage', 'DescribeFabricChaincodeDefinitionTask'],
'type' => 'directory',
- 'children' => [
- 'CreateFabricChaincodePackage',
- 'SubmitFabricChaincodeDefinition',
- 'InstallFabricChaincodePackage',
- 'ApproveFabricChaincodeDefinition',
- 'UpgradeFabricChaincodeDefinition',
- 'DescribeFabricOrganizationChaincodePackage',
- 'DescribeFabricChaincodeDefinitionTask',
- ],
+ 'title' => 'ChainCode 2.0',
],
'CreateFabricChaincode',
'CreateFabricChannelMember',
@@ -148,7 +55,6 @@
'DescribeFabricOrganizationUsers',
'DescribeFabricInvitationCode',
'DescribeFabricOrganizationSpecs',
- 'ListTagResources',
'DescribeFabricOrganizationChannels',
'AcceptFabricInvitation',
'ConfirmFabricConsortiumMember',
@@ -160,488 +66,103 @@
'CheckFabricOrganizationDomain',
'UpgradeFabricChaincode',
'InstantiateFabricChaincode',
- 'TagResources',
- 'UntagResources',
],
+ 'type' => 'directory',
+ 'title' => 'Hyperledger Fabric',
],
[
- 'id' => 145008,
- 'title' => null,
+ 'children' => ['DescribeEthereumDeletable', 'DescribeRegions', 'DescribeTasks', 'ListTagResources', 'TagResources', 'UntagResources'],
'type' => 'directory',
- 'children' => [
- 'DescribeEthereumDeletable',
- ],
+ 'title' => 'Others',
],
],
'components' => [
'schemas' => [
'ChaincodePackage' => [
'title' => '',
- 'description' => '',
- 'visibility' => 'public',
+ 'description' => 'The chaincode package structure.',
'type' => 'object',
'properties' => [
- 'OrganizationId' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- 'backendName' => 'organizationId',
- ],
- 'Label' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'label',
- 'backendName' => 'label',
- ],
- 'Checksum' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => '15bab12c29edbc095c33545b9867aec9be469c74a6dd5783df6ee74a24334c77',
- 'backendName' => 'checksum',
- ],
- 'ChaincodePackageId' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'cmcc-1.5:227c3cd472a8a2fcaa1c63f15812a1894348a985dc723006dd47d9f2848d10ed',
- 'backendName' => 'chaincodePackageId',
- ],
- 'Md5sum' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'N02eVKuRJDA2ODtieMUxVw==',
- 'backendName' => 'md5sum',
- ],
- 'ProviderUid' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => '1313158505072210',
- 'backendName' => 'providerUid',
- ],
- 'ProviderBid' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => '26842',
- 'backendName' => 'providerBid',
- ],
- 'Type' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- 'backendName' => 'type',
- ],
- 'TypeName' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'golang',
- 'backendName' => 'typeStr',
- ],
- 'UploadTime' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => '1533025590',
- 'backendName' => 'uploadTime',
- ],
- 'InstallTime' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => '1533025590',
- 'backendName' => 'installTime',
- ],
- 'State' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'Running',
- 'backendName' => 'state',
- ],
- 'OssURL' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz',
- 'backendName' => 'ossURL',
- ],
- 'DeleteTime' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => '1533025590',
- 'backendName' => 'deleteTime',
- ],
- 'Deleted' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'boolean',
- 'example' => 'false',
- 'backendName' => 'deleted',
- ],
- 'Message' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'ok',
- 'nullToEmpty' => false,
- 'backendName' => 'message',
- ],
- ],
+ 'OrganizationId' => ['title' => '', 'description' => 'The organization ID.', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'],
+ 'Label' => ['title' => '', 'description' => 'The chaincode label.', 'type' => 'string', 'example' => 'label'],
+ 'Checksum' => ['title' => '', 'description' => 'The chaincode checksum.', 'type' => 'string', 'example' => '15bab12c29edbc095c33545b9867aec9be469c74a6dd5783df6ee74a24334c77'],
+ 'ChaincodePackageId' => ['title' => '', 'description' => 'The chaincode package ID.', 'type' => 'string', 'example' => 'cmcc-1.5:227c3cd472a8a2fcaa1c63f15812a1894348a985dc723006dd47d9f2848d10ed'],
+ 'Md5sum' => ['title' => '', 'description' => 'The MD5 checksum of the chaincode.', 'type' => 'string', 'example' => 'N02eVKuRJDA2ODtieMUxVw=='],
+ 'ProviderUid' => ['title' => '', 'description' => 'The UID of the uploader.', 'type' => 'string', 'example' => '1313158505072210'],
+ 'ProviderBid' => ['title' => '', 'description' => 'The BID of the uploader.', 'type' => 'string', 'example' => '26842'],
+ 'Type' => ['title' => '', 'description' => 'The chaincode type.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'TypeName' => ['title' => '', 'description' => 'The chaincode type.', 'type' => 'string', 'example' => 'golang'],
+ 'UploadTime' => ['title' => '', 'description' => 'The upload time.', 'type' => 'string', 'example' => '1533025590'],
+ 'InstallTime' => ['title' => '', 'description' => 'The installation time.', 'type' => 'string', 'example' => '1533025590'],
+ 'State' => ['title' => '', 'description' => 'The chaincode status.', 'type' => 'string', 'example' => 'Running'],
+ 'OssURL' => ['title' => '', 'description' => 'The path of the chaincode package in the OSS bucket.', 'type' => 'string', 'example' => 'hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz'],
+ 'DeleteTime' => ['title' => '', 'description' => 'The deletion time.', 'type' => 'string', 'example' => '1533025590'],
+ 'Deleted' => ['title' => '', 'description' => 'Indicates whether the chaincode package is deleted.', 'type' => 'boolean', 'example' => 'false'],
+ 'Message' => ['title' => '', 'description' => 'The message.', 'type' => 'string', 'example' => 'ok'],
+ ],
+ 'example' => '',
],
'ChaincodeVO' => [
- 'title' => 'ChainCode',
- 'description' => 'ChainCodeVO',
- 'visibility' => 'public',
+ 'title' => '',
+ 'description' => 'ChainCodeVO.',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'sacc',
- 'backendName' => 'name',
- ],
- 'Version' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => '1.1',
- 'backendName' => 'version',
- ],
- 'Input' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'args:"key" args:"val"',
- 'backendName' => 'input',
- ],
- 'Type' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- 'backendName' => 'type',
- ],
- 'State' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'Pending',
- 'backendName' => 'state',
- ],
- 'Path' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'chaincode/sacc',
- 'backendName' => 'path',
- ],
- 'ChaincodeId' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'code-sacc-jbkuldd3i7ad',
- 'backendName' => 'chaincodeId',
- ],
- 'Install' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'boolean',
- 'example' => 'true',
- 'backendName' => 'install',
- ],
- 'Message' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'ok',
- 'backendName' => 'message',
- ],
- 'CreateTime' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => '1533025590',
- 'backendName' => 'createTime',
- ],
- 'DeployTime' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => '1533025590',
- 'backendName' => 'deployTime',
- ],
- 'ChannelName' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'f100',
- 'backendName' => 'channelName',
- ],
- 'EndorsePolicy' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'OR ("perf9141MSP.member")',
- 'backendName' => 'endorsePolicy',
- ],
- 'ConsortiumId' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- 'backendName' => 'consortiumId',
- ],
- 'ProviderId' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- 'backendName' => 'providerId',
- ],
- 'ProviderName' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'perf9141',
- 'backendName' => 'providerName',
- ],
- 'ChannelId' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'chan-test-b0wx5suhgyb9p',
- 'backendName' => 'channelId',
- ],
- 'Management' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'boolean',
- 'example' => 'false',
- 'backendName' => 'management',
- ],
- 'ChaincodePackageId' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860',
- 'backendName' => 'chaincodePackageId',
- ],
- 'InitRequired' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'boolean',
- 'example' => 'false',
- 'backendName' => 'initRequired',
- ],
- 'ChaincodeDefinitionId' => [
- 'title' => '',
- 'description' => '',
- 'visibility' => 'public',
- 'type' => 'string',
- 'example' => 'a5f04baed775b016e8dc386783f40a2c8b13823cac22bc5fd11846cca4a13a9a',
- 'backendName' => 'chaincodeDefinitionId',
- ],
- ],
+ 'Name' => ['title' => '', 'description' => 'The chaincode package name.', 'type' => 'string', 'example' => 'sacc'],
+ 'Version' => ['title' => '', 'description' => 'The chaincode version.', 'type' => 'string', 'example' => '1.1'],
+ 'Input' => ['title' => '', 'description' => 'The chaincode input.', 'type' => 'string', 'example' => 'args:"key" args:"val"'],
+ 'Type' => ['title' => '', 'description' => 'The chaincode type.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'State' => ['title' => '', 'description' => 'The chaincode status.', 'type' => 'string', 'example' => 'Pending'],
+ 'Path' => ['title' => '', 'description' => 'The chaincode path.', 'type' => 'string', 'example' => 'chaincode/sacc'],
+ 'ChaincodeId' => ['title' => '', 'description' => 'The chaincode ID.', 'type' => 'string', 'example' => 'code-sacc-jbkuldd3i7ad'],
+ 'Install' => ['title' => '', 'description' => 'Indicates whether the chaincode is installed.', 'type' => 'boolean', 'example' => 'true'],
+ 'Message' => ['title' => '', 'description' => 'The message.', 'type' => 'string', 'example' => 'ok'],
+ 'CreateTime' => ['title' => '', 'description' => 'The creation time.', 'type' => 'string', 'example' => '1533025590'],
+ 'DeployTime' => ['title' => '', 'description' => 'The deployment time.', 'type' => 'string', 'example' => '1533025590'],
+ 'ChannelName' => ['title' => '', 'description' => 'The channel name.', 'type' => 'string', 'example' => 'f100'],
+ 'EndorsePolicy' => ['title' => '', 'description' => 'The endorsement policy.', 'type' => 'string', 'example' => 'OR ("perf9141MSP.member")'],
+ 'ConsortiumId' => ['title' => '', 'description' => 'The consortium ID.', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'],
+ 'ProviderId' => ['title' => '', 'description' => 'The ID of the chaincode uploader.', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3'],
+ 'ProviderName' => ['title' => '', 'description' => 'The name of the chaincode uploader.', 'type' => 'string', 'example' => 'perf9141'],
+ 'ChannelId' => ['title' => '', 'description' => 'The channel ID.', 'type' => 'string', 'example' => 'chan-test-b0wx5suhgyb9p'],
+ 'Management' => ['title' => '', 'description' => 'Indicates whether the chaincode is a management chaincode.', 'type' => 'boolean', 'example' => 'false'],
+ 'ChaincodePackageId' => ['title' => '', 'description' => 'The chaincode package ID.', 'type' => 'string', 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860'],
+ 'InitRequired' => ['title' => '', 'description' => 'Indicates whether initialization is required.', 'type' => 'boolean', 'example' => 'false'],
+ 'ChaincodeDefinitionId' => ['title' => '', 'description' => 'The chaincode definition ID.', 'type' => 'string', 'example' => 'a5f04baed775b016e8dc386783f40a2c8b13823cac22bc5fd11846cca4a13a9a'],
+ ],
+ 'example' => '',
],
],
],
'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' => '',
- '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' => '',
- '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',
- ],
- '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'name' => 'Code',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The invitation code.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'secrettoken', 'title' => ''],
],
[
- 'name' => 'AcceptLanguage',
- 'in' => 'query',
+ 'name' => 'IsAccepted',
+ 'in' => 'formData',
'schema' => [
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'Specifies whether to accept the invitation.',
+ 'type' => 'boolean',
'required' => false,
- 'example' => 'zh-CN',
+ 'docRequired' => false,
+ 'default' => 'true',
+ 'enum' => ['true', 'false'],
+ 'example' => 'true',
+ 'title' => '',
],
],
],
@@ -650,197 +171,62 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'baas.cn-hangzhou.aliyuncs.com',
- ],
- 'LocalName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'RegionId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '52CC8D5B-79A8-4769-BC7B-8940556ADA49', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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"}]',
- ],
- 'CreateAntChainKmsAccountNew' => [
- 'summary' => '创建MyChain托管账户',
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"52CC8D5B-79A8-4769-BC7B-8940556ADA49\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'Accept an invitation to join a consortium',
+ 'summary' => 'Calls AcceptFabricInvitation to accept an invitation to join a consortium.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'AntChainId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => '1234565181228596659400e4-3bd7-4a83-b9af-d12654bb5779',
- ],
- ],
- ],
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:AcceptFabricInvitation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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"}]',
- ],
- 'CreateAntChainConsortium' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ', 'title' => ''],
],
[
- 'name' => 'ConsortiumDescription',
+ 'name' => 'UploadReq',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
+ 'schema' => ['description' => 'The upload content.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LS0tLS1...', 'title' => ''],
],
],
'responses' => [
@@ -848,196 +234,96 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '87FAFC6B-E7AE-4626-B7F7-AE0B88E612D5',
- ],
- 'Result' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'A28nO1ow',
- ],
- ],
- ],
+ 'Result' => ['description' => 'The request result.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D3FB9E67-0E31-4B8B-8895-3660CCE8CA62', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'CreateAntChainConsortium',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"D3FB9E67-0E31-4B8B-8895-3660CCE8CA62\\"\\n}","type":"json"}]',
+ 'title' => 'Apply to link to ant blockchain',
+ 'summary' => 'Submits a request to link to an Ant Blockchain and uploads a TLS Certificate Signing Request (CSR).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateAntChainAccount' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:ApplyAntChainCertificate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'bDXK6boZ',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1q8B5R9p', 'title' => ''],
],
[
- 'name' => 'Account',
+ 'name' => 'ConsortiumId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DV80nJXq', 'title' => ''],
],
[
- 'name' => 'AccountPubKey',
+ 'name' => 'Password',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'AEDC32...',
- ],
+ 'schema' => ['description' => 'The SSL passphrase.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'password', 'title' => ''],
],
[
- 'name' => 'AccountRecoverPubKey',
+ 'name' => 'CountryName',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'AEDC32...',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '0301F6CB-4FA6-4D03-8668-963623B63D0F',
- ],
- 'Result' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Account' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'AntChainId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'bDXK6boZ',
- ],
- ],
- ],
- ],
- ],
+ 'schema' => ['description' => 'The city name (L).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'countryName', 'title' => ''],
],
- ],
- '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' => 'CreateAntChainAccount',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'CreateAntChainAccountWithKeyPairAutoCreation' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'StateOrProvinceName',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The state or province name (ST).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'stateOrProvinceName', 'title' => ''],
],
- ],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'create',
- ],
- 'parameters' => [
[
- 'name' => 'AntChainId',
+ 'name' => 'LocalityName',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1q8B5R9p',
- ],
+ 'schema' => ['description' => 'The country name (C).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'localityName', 'title' => ''],
],
[
- 'name' => 'Account',
+ 'name' => 'OrganizationName',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'accountname',
- ],
+ 'schema' => ['description' => 'The organization name (O).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'organizationName ', 'title' => ''],
],
[
- 'name' => 'Password',
+ 'name' => 'OrganizationUnitName',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'password',
- ],
+ 'schema' => ['description' => 'The organizational unit name (OU).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'organizationUnitName ', 'title' => ''],
],
[
- 'name' => 'RecoverPassword',
+ 'name' => 'CommonName',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '************',
- ],
+ 'schema' => ['description' => 'The common name (CN).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'commonName', 'title' => ''],
],
],
'responses' => [
@@ -1045,257 +331,209 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '5F058BB4-3043-4638-86D4-EED84AD1AE54',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '3E1894AF-FEE7-4C6C-8C2A-2B3EE0105B07', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'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' => '',
- 'type' => 'string',
- 'example' => '1q8B5R9p',
+ 'PrivateKey' => ['description' => 'The private key.', 'type' => 'string', 'example' => '-----BEGIN ENCRYPTED PRIVATE KEY-----\\nMII***A=\\n-----END ENCRYPTED PRIVATE KEY-----\\n', 'title' => ''],
+ 'DownloadPath' => [
+ 'description' => 'The download path.',
+ 'type' => 'object',
+ 'properties' => [
+ 'SdkUrl' => ['description' => 'The SDK download URL.', 'type' => 'string', 'example' => 'http://***', 'title' => ''],
+ 'ClientCrtUrl' => ['description' => 'The client.crt download URL.', 'type' => 'string', 'example' => 'http://***client.crt', 'title' => ''],
+ 'CaCrtUrl' => ['description' => 'The ca.crt download URL.', 'type' => 'string', 'example' => 'http://***ca.crt', 'title' => ''],
+ 'TrustCaUrl' => ['description' => 'The trust.CA download URL.', 'type' => 'string', 'example' => 'http://***trustCa', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Apply to connect to an ant blockchain',
+ 'summary' => 'Applies to connect to an Ant Blockchain and automatically generates certificates and other connection information.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateAntChainContractProject' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:ApplyAntChainCertificateWithKeyAutoCreation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ 'ApproveFabricChaincodeDefinition' => [
+ 'summary' => 'Approves a chaincode definition of version 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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'DV80nJXq',
- ],
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', 'title' => ''],
],
[
- 'name' => 'ProjectName',
+ 'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'projectname',
- ],
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'ProjectVersion',
+ 'name' => 'ChaincodeId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'v1.0.0',
- ],
+ 'schema' => ['description' => 'The chaincode ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'code-sacc-jbkuldd3i7ad', 'title' => ''],
],
[
- 'name' => 'ProjectDescription',
+ 'name' => 'ChaincodePackageId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'project description',
- ],
+ 'schema' => ['description' => 'The chaincode package ID.', 'type' => 'string', 'required' => false, 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The result.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '4261A4C3-B8B5-4555-AEBC-944C3EAB23DB',
- ],
- 'Result' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'UpdateTime' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1563951889140',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'DV80nJXq',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1563951889044',
- ],
- 'ProjectId' => [
- 'description' => '',
- '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' => 'The message returned by the operation.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Result' => ['description' => 'The result.', '$ref' => '#/components/schemas/ChaincodeVO', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'CreateAntChainContractProject',
- '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' => 'Approve chaincode definition',
+ 'changeSet' => [
+ ['createdAt' => '2022-02-28T10:34:55.000Z', 'description' => 'OpenAPI offline'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:ApproveFabricChaincodeDefinition',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'bDXK1b8Z',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ', 'title' => ''],
],
[
- 'name' => 'ParentContentId',
+ 'name' => 'PhoneList',
'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The list of authorized users to add. The values are the phone numbers associated with the Alipay accounts.', 'type' => 'object', 'required' => true, 'docRequired' => true, 'example' => '["1380013****", "1380013****"]', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Result' => ['description' => 'The request result.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ ],
'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'R38DYDop',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\"\\n}","type":"json"}]',
+ 'title' => 'Batch grant QR code scanning permissions for ant blockchain transactions',
+ 'summary' => 'Grants QR code scanning permissions for Ant Blockchain transactions in batches.',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
+ ],
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ ],
+ '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' => 'The consortium domain name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bank', 'title' => ''],
],
],
'responses' => [
@@ -1303,97 +541,74 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'C407F102-062A-44B3-BBDC-E3B2718F633D',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '8F80A214-89FC-4348-9B3F-15446B3DC1FA', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The result.',
'type' => 'object',
'properties' => [
- 'ContentName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'newFile',
- ],
- 'ParentContentId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'R38DYDop',
- ],
- 'UpdateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1564024964404',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1564024964404',
- ],
- 'ProjectId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'bDXK1b8Z',
- ],
- 'IsDirectory' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Content' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ContentId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'R6XMn59e',
- ],
+ 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'bank', 'title' => ''],
+ 'Valid' => ['description' => 'Indicates whether the domain name is valid.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Prompt' => ['description' => 'The prompt message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'CreateAntChainContractContent',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Check consortium domain name availability',
+ 'summary' => 'Checks whether a consortium domain name is available.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteAntChainConsortium' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:CheckFabricConsortiumDomain',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'q0oWq92P',
- ],
+ 'schema' => ['description' => 'The domain name.', 'type' => 'string', 'required' => false, 'default' => 'canyouguessme', 'example' => 'bank', 'title' => ''],
+ ],
+ [
+ 'name' => 'Domain',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The domain name prefix.'."\n"
+ ."\n"
+ .'You do not need to include the root domain name obtained from the [DescribeRootDomain](~~DescribeRootDomain~~) operation.', 'type' => 'string', 'required' => false, 'default' => 'canyouguessme', 'example' => 'bank', 'title' => ''],
],
],
'responses' => [
@@ -1401,55 +616,89 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C30A14C7-800E-468B-9EB2-C704DA49295E', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'F3685787-9F2F-4D60-ADD6-07A5179552CA',
+ 'description' => 'The check result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Domain' => ['description' => 'The domain name entered by the user.', 'type' => 'string', 'example' => 'bank', 'title' => ''],
+ 'Valid' => ['description' => 'Indicates whether the domain name is valid.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Prompt' => ['description' => 'The prompt message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DeleteAntChainConsortium',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Check whether a domain name is available',
+ 'summary' => 'Checks whether a domain name is available.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteAntChainContractContent' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:CheckFabricOrganizationDomain',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-aaaaaa-akpcsjjac2jd', 'title' => ''],
+ ],
+ [
+ 'name' => 'Organization',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'The list of organizations.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OrganizationId' => ['description' => 'The list of organization IDs.', 'type' => 'string', 'required' => true, 'example' => 'peers-aaaaaa1-1oxw31d046jtl', 'title' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => true,
- 'docRequired' => true,
- 'example' => 'GKX7KZX0',
+ 'maxItems' => 1000,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -1458,56 +707,73 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '7E54F588-39DE-446F-9A16-B9BB0B05DF44',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '50B3ACF3-CE12-433C-A834-9E8C657A4934', 'title' => ''],
+ 'Result' => ['description' => 'The result.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the call is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DeleteAntChainContractContent',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"50B3ACF3-CE12-433C-A834-9E8C657A4934\\",\\n \\"Result\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'ConfirmFabricConsortiumMember',
+ 'summary' => 'Confirms the request of a member to join a consortium. A proposal must be confirmed.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteAntChainContractProject' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2022-08-05T08:53:10.000Z', 'description' => 'Request parameters changed, Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:ConfirmFabricConsortiumMember',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'AVXeKq8R',
- ],
+ 'schema' => ['description' => 'The project ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2L9VK68g', 'title' => ''],
+ ],
+ [
+ 'name' => 'ProjectName',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The project name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'copyproject', 'title' => ''],
+ ],
+ [
+ 'name' => 'ProjectVersion',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The project version.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'v1.0.1', 'title' => ''],
+ ],
+ [
+ 'name' => 'ProjectDescription',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The project description.', 'type' => 'string', 'required' => false, 'example' => 'copy project description', 'title' => ''],
],
],
'responses' => [
@@ -1515,68 +781,85 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '45D67F6F-C723-4AD8-8462-F94EE5FF22E6', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '4FAC5F05-FDF0-4599-9522-0120525F0145',
+ 'description' => 'The result of the request.',
+ 'type' => 'object',
+ 'properties' => [
+ 'UpdateTime' => ['description' => 'The update time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1563953475248', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'DV80nJXq', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1563953475248', 'title' => ''],
+ 'ProjectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'R6XMEdXe', 'title' => ''],
+ 'ProjectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'copyproject', 'title' => ''],
+ 'ProjectVersion' => ['description' => 'The project version.', 'type' => 'string', 'example' => 'v1.0.1', 'title' => ''],
+ 'ProjectDescription' => ['description' => 'The project description.', 'type' => 'string', 'example' => 'copy project description', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DeleteAntChainContractProject',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Copy a smart contract project within a consortium',
+ 'summary' => 'Copies an existing smart contract project within a consortium.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteAntChainMiniAppQRCodeAuthorizedUser' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:CopyAntChainContractProject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'bDXK6boZ',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ', 'title' => ''],
],
[
- 'name' => 'Phone',
+ 'name' => 'Account',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1380013****',
- ],
+ 'schema' => ['description' => 'The account name. The name can contain letters, digits, Chinese characters, and hyphens (-).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''],
+ ],
+ [
+ 'name' => 'AccountPubKey',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The public key of the account. The value is a hash value that contains 128 characters.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AEDC32...', 'title' => ''],
+ ],
+ [
+ 'name' => 'AccountRecoverPubKey',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The recovery public key of the account. The value is a hash value that contains 128 characters.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AEDC32...', 'title' => ''],
],
],
'responses' => [
@@ -1584,75 +867,80 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0301F6CB-4FA6-4D03-8668-963623B63D0F', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC',
+ 'description' => 'The result of the request.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Account' => ['description' => 'The account name.', 'type' => 'string', 'example' => 'test', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => 'bDXK6boZ', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DeleteAntChainMiniAppQRCodeAuthorizedUser',
- ],
- 'UpdateAntChainConsortium' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0301F6CB-4FA6-4D03-8668-963623B63D0F\\",\\n \\"Result\\": {\\n \\"Account\\": \\"test\\",\\n \\"AntChainId\\": \\"bDXK6boZ\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'Create an account on an ant blockchain',
+ 'summary' => 'Creates an account on an Ant Blockchain.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateAntChainAccount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'q0oWq92P',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1q8B5R9p', 'title' => ''],
],
[
- 'name' => 'ConsortiumName',
+ 'name' => 'Account',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '',
- ],
+ 'schema' => ['description' => 'The account name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'accountname', 'title' => ''],
],
[
- 'name' => 'ConsortiumDescription',
+ 'name' => 'Password',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '',
- ],
+ 'schema' => ['description' => 'The password.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'password', 'title' => ''],
+ ],
+ [
+ 'name' => 'RecoverPassword',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The recovery password.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '************', 'title' => ''],
],
],
'responses' => [
@@ -1660,67 +948,74 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5F058BB4-3043-4638-86D4-EED84AD1AE54', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1E55C947-19B4-4AAD-9D22-0B8DA8904B3D',
+ 'description' => 'The response result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountPublicKey' => ['description' => 'The public key of the account.', 'type' => 'string', 'example' => 'b***7', 'title' => ''],
+ 'Account' => ['description' => 'The account name.', 'type' => 'string', 'example' => 'accountname', 'title' => ''],
+ 'AccountRecoverPrivateKey' => ['description' => 'The recovery private key of the account.', 'type' => 'string', 'example' => '-----BEGIN ENCRYPTED PRIVATE KEY-----\\nM***Io=\\n-----END ENCRYPTED PRIVATE KEY-----\\n', 'title' => ''],
+ 'AccountRecoverPublicKey' => ['description' => 'The recovery public key of the account.', 'type' => 'string', 'example' => 'd***b', 'title' => ''],
+ 'AccountPrivateKey' => ['description' => 'The private key of the account.', 'type' => 'string', 'example' => '-----BEGIN ENCRYPTED PRIVATE KEY-----\\nM***8=\\n-----END ENCRYPTED PRIVATE KEY-----\\n', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => '1q8B5R9p', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'UpdateAntChainConsortium',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'CreateAntChainAccountWithKeyPairAutoCreation',
+ 'summary' => 'Creates an account on an Ant Blockchain by automatically generating a key pair.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UpdateAntChain' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:56.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateAntChainAccountWithKeyPairAutoCreation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'pYogqb9v',
- ],
+ 'schema' => ['description' => 'The name of the consortium. The name can contain letters, digits, Chinese characters, and hyphens (-). The name cannot contain spaces or special characters. The name must be 1 to 100 characters in length.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '联盟名称', 'title' => ''],
],
[
- 'name' => 'AntChainName',
+ 'name' => 'ConsortiumDescription',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '',
- ],
+ 'schema' => ['description' => 'The description of the consortium. This parameter is optional. If specified, the description must be 1 to 255 characters in length.', 'type' => 'string', 'required' => false, 'example' => '联盟描述', 'title' => ''],
],
],
'responses' => [
@@ -1728,87 +1023,84 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '87FAFC6B-E7AE-4626-B7F7-AE0B88E612D5', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'F6A52E53-2CCB-4C3C-A44D-45FAEBC24E47',
+ 'description' => 'The result of the request.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'A28nO1ow', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"F6A52E53-2CCB-4C3C-A44D-45FAEBC24E47\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => 'UpdateAntChain',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"87FAFC6B-E7AE-4626-B7F7-AE0B88E612D5\\",\\n \\"Result\\": {\\n \\"ConsortiumId\\": \\"A28nO1ow\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'Create a consortium',
+ 'summary' => 'Creates a consortium.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UpdateAntChainContractContent' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateAntChainConsortium',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'R6XMn59e',
- ],
+ 'schema' => ['description' => 'The ID of the smart contract project.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK1b8Z', 'title' => ''],
],
[
'name' => 'ParentContentId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'R38DYDop',
- ],
+ 'schema' => ['description' => 'The ID of the parent folder.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'R38DYDop', 'title' => ''],
],
[
'name' => 'ContentName',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'newFile',
- ],
+ 'schema' => ['description' => 'The name of the file or folder to create.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'newFile', 'title' => ''],
+ ],
+ [
+ 'name' => 'IsDirectory',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Specifies whether the content is a folder.', 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'false', 'title' => ''],
],
[
'name' => 'Content',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'update content',
- ],
+ 'schema' => ['description' => 'The content of the file or folder to create.', 'type' => 'string', 'required' => false, 'example' => '""', 'title' => ''],
],
],
'responses' => [
@@ -1816,86 +1108,86 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C407F102-062A-44B3-BBDC-E3B2718F633D', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '08CBD579-C430-4F1F-9011-C120FA1E9B97',
+ 'description' => 'The result of the request.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ContentName' => ['description' => 'The name of the file or folder to create.', 'type' => 'string', 'example' => 'newFile', 'title' => ''],
+ 'ParentContentId' => ['description' => 'The ID of the parent folder.', 'type' => 'string', 'example' => 'R38DYDop', 'title' => ''],
+ 'UpdateTime' => ['description' => 'The update time.', 'type' => 'string', 'example' => '1564024964404', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1564024964404', 'title' => ''],
+ 'ProjectId' => ['description' => 'The ID of the smart contract project.', 'type' => 'string', 'example' => 'bDXK1b8Z', 'title' => ''],
+ 'IsDirectory' => ['description' => 'Indicates whether the content is a directory.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'Content' => ['description' => 'The content of the file or folder to create.', 'type' => 'string', 'example' => '""', 'title' => ''],
+ 'ContentId' => ['description' => 'The ID of the created file or folder.', 'type' => 'string', 'example' => 'R6XMn59e', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"08CBD579-C430-4F1F-9011-C120FA1E9B97\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => 'UpdateAntChainContractContent',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Create smart contract project content',
+ 'summary' => 'Creates content for a smart contract project. The content can be a file or a folder.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UpdateAntChainContractProject' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateAntChainContractContent',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'bDXK1b8Z',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DV80nJXq', 'title' => ''],
],
[
'name' => 'ProjectName',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
+ 'schema' => ['description' => 'The project name. The name can contain letters, digits, common Chinese characters, and hyphens (-). The name cannot contain periods, spaces, or other special characters. The name must be 1 to 30 characters in length.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'projectname', 'title' => ''],
],
[
'name' => 'ProjectVersion',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'v1.1.1',
- ],
+ 'schema' => ['description' => 'The project version.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'v1.0.0', 'title' => ''],
],
[
'name' => 'ProjectDescription',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
+ 'schema' => ['description' => 'The project description.', 'type' => 'string', 'required' => false, 'example' => 'project description', 'title' => ''],
],
],
'responses' => [
@@ -1903,78 +1195,177 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4261A4C3-B8B5-4555-AEBC-944C3EAB23DB', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '9EBD381E-A19E-4875-8771-EDA08A0416D3',
+ 'description' => 'The response result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'UpdateTime' => ['description' => 'The time when the project was last updated.', 'type' => 'integer', 'format' => 'int64', 'example' => '1563951889140', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'DV80nJXq', 'title' => ''],
+ 'CreateTime' => ['description' => 'The time when the project was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1563951889044', 'title' => ''],
+ 'ProjectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'R38DAbop', 'title' => ''],
+ 'ProjectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'projectname', 'title' => ''],
+ 'ProjectVersion' => ['description' => 'The project version.', 'type' => 'string', 'example' => 'v1.0.0', 'title' => ''],
+ 'ProjectDescription' => ['description' => 'The project description.', 'type' => 'string', 'example' => 'project description', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"9EBD381E-A19E-4875-8771-EDA08A0416D3\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => 'UpdateAntChainContractProject',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Create a smart contract project within a consortium',
+ 'summary' => 'Creates a smart contract project within a consortium.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UpdateAntChainMember' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateAntChainContractProject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ 'CreateAntChainKmsAccountNew' => [
+ 'summary' => 'Creates a managed account.',
+ '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' => 'The blockchain ID.', 'type' => 'string', 'required' => false, 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
+ ],
+ [
+ 'name' => 'Account',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The account name.', 'type' => 'string', 'required' => false, 'example' => 'accountname', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '063C2175-C755-5C85-9C42-5EB432B67D9B', 'title' => ''],
+ 'Success' => ['description' => 'The result status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => '没有权限', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Result' => [
+ 'description' => 'The result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PubKey' => ['description' => 'The public key of the managed account.', 'type' => 'string', 'example' => 'd408f5c5c3c118b23646f4059c81fbe5a1b067a12f96f4a7a5e09eae10c81288cdf64aa887af89738b9ec5d16bc124594bf820a4afa24fe0de9d8dcfd1d99500', 'title' => ''],
+ 'MyKmsKeyId' => ['description' => 'The ID of the managed account.', 'type' => 'string', 'example' => '1234565181228596659400e4-3bd7-4a83-b9af-d12654bb5779', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'updatename',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => 'Create an ant blockchain managed account',
+ 'changeSet' => [
+ ['createdAt' => '2022-06-01T09:46:44.000Z', 'description' => 'OpenAPI offline'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateAntChainKmsAccountNew',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ ],
+ 'CreateFabricChaincode' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => ['operationType' => 'create'],
+ 'parameters' => [
+ [
+ 'name' => 'OrganizationId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa1-1oxw31d046jtl', 'title' => ''],
+ ],
+ [
+ 'name' => 'ChannelId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The channel ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chan-first-channel-1w55v3u39x2xz', 'title' => ''],
+ ],
[
'name' => 'ConsortiumId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'AroN3X2l',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-aaaaaa-akpcsjjac2jd', 'title' => ''],
],
[
- 'name' => 'MemberId',
+ 'name' => 'OssBucket',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1287126353301234',
- ],
+ 'schema' => ['description' => 'The OSS bucket address.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'https://chaincode.oss-cn-beijing.aliyuncs.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'OssUrl',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The OSS object address.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'aaaaaa1/a0cf8729-7d47-44c9-9ed5-6d2fdfc8dc2c/sacc.cc', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndorsePolicy',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The endorsement policy. Valid values:'."\n"
+ .'- OR (\'aaaaaa1MSP.peer\',\'aaaaaa2MSP.peer\',...): Any one of the organizations in the channel can endorse.'."\n"
+ .'- AND (\'aaaaaa1MSP.peer\',\'aaaaaa2MSP.peer\',...): All organizations in the channel must endorse. '."\n"
+ .'- OutOf (a,\'aaaaaa1MSP.peer\',\'aaaaaa2MSP.peer\',...): When a is 1, any one of the organizations in the channel can endorse. When a is 2, at least two organizations in the channel must endorse. When a equals the total number of organizations, the endorsement behavior is the same as AND.', 'type' => 'string', 'required' => false, 'example' => 'OR (\'aaaaaa1MSP.peer\')', 'title' => ''],
+ ],
+ [
+ 'name' => 'Location',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The location information.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -1982,36 +1373,78 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CD264CC8-B892-4CDC-BD31-7D179EE6E396', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E',
+ 'description' => 'The creation result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The type. Valid values:'."\n"
+ .'- 0: undefined'."\n"
+ .'- 1: Go'."\n"
+ .'- 2: Node'."\n"
+ .'- 4: Java.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'EndorsePolicy' => ['description' => 'The endorsement policy.', 'type' => 'string', 'example' => 'OR (\'aaaaaa1MSP.peer\')', 'title' => ''],
+ 'State' => ['description' => 'The state.', 'type' => 'string', 'example' => 'Instantiatable', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1544766801000', 'title' => ''],
+ 'ChaincodeId' => ['description' => 'The chaincode ID.', 'type' => 'string', 'example' => 'code-sacc-1pr09q7jmo0np', 'title' => ''],
+ 'ProviderName' => ['description' => 'The name of the uploader.', 'type' => 'string', 'example' => 'peers-aaaaaa1-1oxw31d046jtl', 'title' => ''],
+ 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => 'string', 'title' => ''],
+ 'ChaincodeName' => ['description' => 'The chaincode name.', 'type' => 'string', 'example' => 'mychaincode', 'title' => ''],
+ 'Input' => ['description' => 'The input.', 'type' => 'string', 'example' => 'string', 'title' => ''],
+ 'Install' => ['description' => 'Indicates whether the chaincode is installed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ProviderId' => ['description' => 'The uploader ID.', 'type' => 'string', 'example' => 'peers-aaaaaa1-1oxw31d046jtl', 'title' => ''],
+ 'DeployTime' => ['description' => 'The deployment time.', 'type' => 'string', 'example' => '1544766801000', 'title' => ''],
+ 'ChaincodeVersion' => ['description' => 'The chaincode version.', 'type' => 'string', 'example' => '1.0', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-aaaaaa-akpcsjjac2jd', 'title' => ''],
+ 'ChannelName' => ['description' => 'The channel name.', 'type' => 'string', 'example' => 'first-channel', 'title' => ''],
+ 'Path' => ['description' => 'The path.', 'type' => 'string', 'example' => 'go-sdk-demo/chaincode/src', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'UpdateAntChainMember',
+ '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 \\"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}","type":"json"}]',
+ 'title' => 'Create chaincode',
+ 'summary' => 'Creates a chaincode by calling 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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateFabricChaincodePackage' => [
+ 'summary' => 'Creates a chaincode definition for version 2.0.',
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2019,116 +1452,126 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
- 'name' => 'AntChainId',
+ 'name' => 'OrganizationId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'bDXK6boZ',
- ],
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', 'title' => ''],
],
[
- 'name' => 'QRCodeType',
+ 'name' => 'OssUrl',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MINI_APP_BROWSER_TRANSACTION',
- ],
+ 'schema' => ['description' => 'The path of the chaincode package in the OSS bucket.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz', 'title' => ''],
],
[
- 'name' => 'AuthorizationType',
+ 'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ALL_USER_AUTHORIZATION',
- ],
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The result.',
'type' => 'object',
'properties' => [
- 'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC',
- ],
+ 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => 'ok', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Result' => ['description' => 'The result.', '$ref' => '#/components/schemas/ChaincodePackage', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'UpdateAntChainQRCodeAuthorization',
- ],
- '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' => ''],
+ ],
],
- '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 \\"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' => 'Create a chaincode package definition',
+ 'changeSet' => [
+ ['createdAt' => '2022-02-28T10:34:55.000Z', 'description' => 'OpenAPI offline'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateFabricChaincodePackage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-aaaaaa-akpcsjjac2jd', 'title' => ''],
+ ],
+ [
+ 'name' => 'ChannelName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The channel name. The name can be up to 50 characters in length and can contain letters, digits, underscores (_), hyphens (-), and periods (.).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'channelx', 'title' => ''],
+ ],
+ [
+ 'name' => 'BatchTimeout',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'bDXK6boZ',
- ],
+ 'schema' => ['description' => 'The block timeout period.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
[
- 'name' => 'TransactionHash',
+ 'name' => 'MaxMessageCount',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '4a1f1371012cf840a9e4c6bde430d5ba600e422e592d153bd2689783cd1f87d0',
- ],
+ 'schema' => ['description' => 'The maximum number of transactions per block.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
- 'name' => 'ContractId',
+ 'name' => 'PreferredMaxBytes',
'in' => 'formData',
+ 'schema' => ['description' => 'The soft limit on the block size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12', 'title' => ''],
+ ],
+ [
+ 'name' => 'Organization',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => 'The list of organization IDs to add to the channel. Example: `Organization.1.Id=org1&Organization.2.Id=org2`.', 'type' => 'string', 'required' => false, 'example' => 'peers-aaaaaa1-1oxw31d046jtl', 'title' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => true,
+ 'maxItems' => 1000,
'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '9782291a957d28bec9e02f3dcb27d78392815ede7670b70793e0fd9763309cda',
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -2137,118 +1580,108 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The creation result.',
'type' => 'object',
'properties' => [
- 'Base64QRCodePNG' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1',
- ],
- 'AntChainId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
+ 'BatchTimeout' => ['description' => 'The block timeout period.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'UpdateTime' => ['description' => 'The update time.', 'type' => 'string', 'example' => '1544768139624', 'title' => ''],
+ 'ChaincodeCount' => ['description' => 'The number of chaincodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'PreferredMaxBytes' => ['description' => 'The soft limit on the block size.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''],
+ 'State' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1544768139624', 'title' => ''],
+ 'OwnerName' => ['description' => 'The name of the creator.', 'type' => 'string', 'example' => 'uid-', 'title' => ''],
+ 'OwnerUid' => ['description' => 'The UID of the creator.', 'type' => 'integer', 'format' => 'int64', 'example' => '1234', 'title' => ''],
+ 'OwnerBid' => ['description' => 'The BID of the creator.', 'type' => 'string', 'example' => '26842', 'title' => ''],
+ 'MaxMessageCount' => ['description' => 'The maximum number of transactions per block.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'MemberCount' => ['description' => 'The number of members.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-aaaaaa-akpcsjjac2jd', 'title' => ''],
+ 'ChannelName' => ['description' => 'The channel name.', 'type' => 'string', 'example' => 'channelx', 'title' => ''],
+ 'SupportConfig' => ['description' => 'Indicates whether configuration is supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ChannelId' => ['description' => 'The channel ID.', 'type' => 'string', 'example' => 'chan-channelx-1l1hmckuuisxo', 'title' => ''],
+ 'ConsortiumName' => ['description' => 'The consortium name.', 'type' => 'string', 'example' => 'aaaaaa', 'title' => ''],
+ 'BlockCount' => ['description' => 'The number of blocks.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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&amp;from=aliyun&amp;bizid=8bd720bde18c4b37b0f4a1c7834db163&amp;hash=ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1&amp;contractId=</QRCodeContent>\\n <TransactionHash>ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1</TransactionHash>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n </Result>\\n</DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse>","errorExample":""}]',
- 'title' => 'DescribeAntChainMiniAppBrowserTransactionQRCodeNew',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'ChannelNameDuplicated', 'errorMessage' => '%s', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.%s', 'errorMessage' => '%s', 'description' => ''],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'CreateFabricChannel',
+ 'summary' => 'Creates a channel by calling 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' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
+ 'name' => 'ChannelId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The channel ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chan-channelx-1l1hmckuuisxo', 'title' => ''],
],
[
- 'name' => 'QRCodeType',
- 'in' => 'formData',
+ 'name' => 'Organization',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'The list of organizations.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'example' => 'peers-aaaaaa1-1oxw31d046jtl', 'title' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => true,
- 'docRequired' => true,
- 'example' => 'MINI_APP_BROWSER_TRANSACTION',
+ 'maxItems' => 1000,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -2257,130 +1690,140 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'MINI_APP_BROWSER_TRANSACTION',
- ],
- 'AuthorizationType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ALL_USER_AUTHORIZATION',
- ],
- 'AntChainId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Result' => ['description' => 'The result.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the call is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainQRCodeAuthorizationV2',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Result\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'CreateFabricChannelMember',
+ 'summary' => 'Adds other organizations to a channel by calling CreateFabricChannelMember.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainsV2' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2022-08-05T08:53:10.000Z', 'description' => 'Request parameters changed, Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateFabricChannelMember',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => 'The location of the instance. The value is the same as **RegionId**.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'OrdererType',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'maximum' => '2147483647',
- 'minimum' => '0',
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The orderer type. Valid values:'."\n"
+ .'- kafka (no longer supported)'."\n"
+ .'- etcdraft.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'etcdraft', 'title' => ''],
],
[
- 'name' => 'ConsortiumId',
+ 'name' => 'ZoneId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The zone ID.', 'type' => 'string', 'required' => false, 'example' => 'random', 'title' => ''],
+ ],
+ [
+ 'name' => 'ConsortiumName',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The consortium name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'aaaaa', 'title' => ''],
+ ],
+ [
+ 'name' => 'Domain',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The domain name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'helloworld', 'title' => ''],
+ ],
+ [
+ 'name' => 'ConsortiumDescription',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The consortium description.', 'type' => 'string', 'required' => false, 'example' => 'some', 'title' => ''],
+ ],
+ [
+ 'name' => 'ChannelPolicy',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The channel creation policy.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''],
+ ],
+ [
+ 'name' => 'SpecName',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The specification. Valid values:'."\n"
+ .'- starter: Starter Edition'."\n"
+ .'- basic: Basic Edition'."\n"
+ .'- enterprise: Enterprise Edition'."\n"
+ .'- enterprise-sgx: Enterprise Security Edition.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'basic', 'title' => ''],
+ ],
+ [
+ 'name' => 'OrderersCount',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The number of orderers.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
+ ],
+ [
+ 'name' => 'PeersCount',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The number of peers.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
+ ],
+ [
+ 'name' => 'PaymentDurationUnit',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The unit of the billing cycle.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'month', 'title' => ''],
+ ],
+ [
+ 'name' => 'PaymentDuration',
'in' => 'formData',
+ 'schema' => ['description' => 'The billing cycle.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '2', 'title' => ''],
+ ],
+ [
+ 'name' => 'Organization',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'M8GaMEyX',
+ 'description' => 'The list of organizations.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => false, 'example' => 'peers-yidio-1tuigx42b1goc', 'title' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -2389,228 +1832,111 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The result.',
'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' => '',
- 'type' => 'string',
- 'example' => 'CREATE',
- ],
- 'ChainType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Contract',
- ],
- 'IsAdmin' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'MerkleTreeSuit' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'fdmt',
- ],
- 'MemberStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ChainApplied',
- ],
- 'InstanceId' => [
- 'description' => '',
- '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' => '',
- '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' => '',
- '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' => 'The number of channels.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'hello', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1544086901984', 'title' => ''],
+ 'SpecName' => ['description' => 'The specification.', 'type' => 'string', 'example' => 'basic', 'title' => ''],
+ 'OrdererCount' => ['description' => 'The number of orderers.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'ServiceState' => ['description' => 'The service status.', 'type' => 'string', 'example' => 'Pending', 'title' => ''],
+ 'ClusterState' => ['description' => 'The cluster status.', 'type' => 'string', 'example' => 'Pending', 'title' => ''],
+ 'OwnerUid' => ['description' => 'The UID of the creator.', 'type' => 'integer', 'format' => 'int64', 'example' => '1019556', 'title' => ''],
+ 'OwnerBid' => ['description' => 'The BID of the creator.', 'type' => 'string', 'example' => '26842', 'title' => ''],
+ 'CodeName' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'lianmenyumingyi', 'title' => ''],
+ 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ 'MemberCount' => ['description' => 'The number of members.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'ChannelPolicy' => ['description' => 'The channel policy.', 'type' => 'string', 'example' => 'Any', 'title' => ''],
+ 'OrdererType' => ['description' => 'The orderer type.', 'type' => 'string', 'example' => 'Kafka', 'title' => ''],
+ 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'string', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', 'title' => ''],
+ 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ 'ConsortiumName' => ['description' => 'The consortium name.', 'type' => 'string', 'example' => 'myconsortium', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainsV2',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'CreateFabricConsortium',
+ 'summary' => 'Creates a consortium by calling CreateFabricConsortium.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainNodesV2' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateFabricConsortium',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
+ 'name' => 'ConsortiumId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-aaaaaa-akpcsjjac2jd', 'title' => ''],
],
[
- 'name' => 'ConsortiumId',
- 'in' => 'formData',
+ 'name' => 'Code',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The invitation code.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '200', 'title' => ''],
+ ],
+ [
+ 'name' => 'Organization',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'M8GaMEyX',
+ 'description' => 'The list of organizations.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => false, 'example' => 'peers-aaaaaa1-1oxw31d046jtl', 'title' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => true,
+ 'maxItems' => 1000,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -2619,101 +1945,96 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '["nodeState","publicKey","nodeType","nodeId","endpoints"]',
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Result' => ['description' => 'The result.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainNodesV2',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Result\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'CreateFabricConsortiumMember',
+ 'summary' => 'Creates a proposal for an organization to join a consortium by calling CreateFabricConsortiumMember.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainMiniAppBrowserQRCodeAccessLogV2' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateFabricConsortiumMember',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => 'The name of the organization.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'name', 'title' => ''],
+ ],
+ [
+ 'name' => 'Location',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The region.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ [
+ 'name' => 'Domain',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The domain name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'domain', 'title' => ''],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The description of the organization.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''],
+ ],
+ [
+ 'name' => 'SpecName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The specification name. Valid values:'."\n"
+ .'- starter: Starter Edition.'."\n"
+ .'- basic: Basic Edition.'."\n"
+ .'- enterprise: Enterprise Edition.'."\n"
+ .'- enterprise-sgx: Enterprise Security Edition.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'basic', 'title' => ''],
+ ],
+ [
+ 'name' => 'PeersCount',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
+ 'schema' => ['description' => 'The number of peer nodes.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
[
- 'name' => 'QRCodeType',
+ 'name' => 'PaymentDuration',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MINI_APP_BROWSER_TRANSACTION',
- ],
+ 'schema' => ['description' => 'The billing cycle.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '12', 'title' => ''],
+ ],
+ [
+ 'name' => 'PaymentDurationUnit',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The unit of the billing cycle.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2', 'title' => ''],
],
],
'responses' => [
@@ -2721,124 +2042,99 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The result.',
'type' => 'object',
'properties' => [
- 'AccessAlipayAccountCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'AccessCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
+ 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'domain', 'title' => ''],
+ 'PeerCount' => ['description' => 'The number of peer nodes in the organization.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
+ 'CreateTime' => ['description' => 'The time when the organization was created.', 'type' => 'string', 'example' => '1544086901984', 'title' => ''],
+ 'ConsortiumCount' => ['description' => 'The number of consortiums.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'SpecName' => ['description' => 'The node specifications.', 'type' => 'string', 'example' => 'baisc', 'title' => ''],
+ 'ServiceState' => ['description' => 'The service status.', 'type' => 'string', 'example' => 'Pending', 'title' => ''],
+ 'OwnerName' => ['description' => 'The name of the owner.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'ClusterState' => ['description' => 'The cluster status.', 'type' => 'string', 'example' => 'Pending', 'title' => ''],
+ 'OwnerUid' => ['description' => 'The user ID of the owner.', 'type' => 'integer', 'format' => 'int64', 'example' => '1019556', 'title' => ''],
+ 'OwnerBid' => ['description' => 'The business code of the owner.', 'type' => 'string', 'example' => '26842', 'title' => ''],
+ 'CodeName' => ['description' => 'The domain code.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'OrganizationDescription' => ['description' => 'The description of the organization.', 'type' => 'string', 'example' => 'desc', 'title' => ''],
+ 'RegionId' => ['description' => 'The region in which the organization nodes reside.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'example' => 'zuzhiyumingyi-hc5d1bwlulg7', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'ZoneId' => ['description' => 'The zone in which the organization nodes reside.', 'type' => 'string', 'example' => 'zone', 'title' => ''],
+ 'UserCount' => ['description' => 'The number of users in the organization.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'OrganizationName' => ['description' => 'The name of the organization.', 'type' => 'string', 'example' => 'zuzhiyumingyi', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainMiniAppBrowserQRCodeAccessLogV2',
- ],
- 'DescribeAntChainMembersV2' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Create an organization',
+ 'summary' => 'Creates an organization by calling CreateFabricOrganization.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateFabricOrganization',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-yidio-1tuigx42b****', 'title' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Username',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'maximum' => '2147483647',
- 'minimum' => '0',
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The username.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'username', 'title' => ''],
],
[
- 'name' => 'ConsortiumId',
+ 'name' => 'Password',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'M8GaMEyX',
- ],
+ 'schema' => ['description' => 'The password.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'password', 'title' => ''],
+ ],
+ [
+ 'name' => 'Attrs',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The attribute-based access control (ABAC) attributes.', 'type' => 'string', 'required' => false, 'example' => 'foo=foo1,bar=bar1', 'title' => ''],
],
],
'responses' => [
@@ -2846,157 +2142,71 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The result.',
'type' => 'object',
'properties' => [
- 'Members' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AllianceJoined',
- ],
- 'MemberId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- ],
- ],
+ 'Password' => ['description' => 'The password.', 'type' => 'string', 'example' => 'password', 'title' => ''],
+ 'ExpireTime' => ['description' => 'The expiration time.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1544086901984', 'title' => ''],
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'example' => 'peers-yidio-1tuigx42b****', 'title' => ''],
+ 'Username' => ['description' => 'The username.', 'type' => 'string', 'example' => 'username', 'title' => ''],
+ 'Fullname' => ['description' => 'The full name.', 'type' => 'string', 'example' => 'fullname', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainMembersV2',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Create an organization user',
+ 'summary' => 'Creates an organization user by calling CreateFabricOrganizationUser.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainDownloadPathsV2' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateFabricOrganizationUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
- ],
- [
'name' => 'ConsortiumId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'M8GaMEyX',
- ],
+ 'schema' => ['description' => 'The ID of the consortium.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'q0oWq92P', 'title' => ''],
],
],
'responses' => [
@@ -3004,136 +2214,56 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => [
- 'SdkUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://***',
- ],
- 'CaCrtUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://***ca.crt',
- ],
- 'ClientCrtUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://***client.crt',
- ],
- 'TrustCaUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://***trustCa',
- ],
- ],
- ],
+ 'Result' => ['description' => 'The result of the request.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F3685787-9F2F-4D60-ADD6-07A5179552CA', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainDownloadPathsV2',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"F3685787-9F2F-4D60-ADD6-07A5179552CA\\"\\n}","type":"json"}]',
+ 'title' => 'Delete a consortium',
+ 'summary' => 'Deletes a consortium.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainContractProjectsV2' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'baas:DeleteAntChainConsortium',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => '',
- '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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '9223372036854775807',
- 'minimum' => '0',
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The file ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'GKX7KZX0', 'title' => ''],
],
],
'responses' => [
@@ -3141,169 +2271,56 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'M8GaMEyX',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1609848383000',
- ],
- 'ProjectId' => [
- 'description' => '',
- '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' => '',
- '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' => '100',
- ],
- ],
- ],
- ],
- ],
+ 'Result' => ['description' => 'The request result.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7E54F588-39DE-446F-9A16-B9BB0B05DF44', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainContractProjectsV2',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"7E54F588-39DE-446F-9A16-B9BB0B05DF44\\"\\n}","type":"json"}]',
+ 'title' => 'Delete the content of a smart contract project',
+ 'summary' => 'Deletes the content of a smart contract project.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainContractProjectContentTreeV2' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'baas:DeleteAntChainContractContent',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2L9VK68g',
- ],
- ],
- [
- 'name' => 'ConsortiumId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'M8GaMEyX',
- ],
+ 'schema' => ['description' => 'The project ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AVXeKq8R', 'title' => ''],
],
],
'responses' => [
@@ -3311,104 +2328,62 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC',
- ],
- 'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '"{"description":"","projectId":"","projectName":"","treeContractContent":[{"content":"","fileName":"","id":"","isDir":false,"parentId\\":""}],"type":"","version":""}"',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'ResultMessage' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'ResultCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'Result' => ['description' => 'The result of the request.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4FAC5F05-FDF0-4599-9522-0120525F0145', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainContractProjectContentTreeV2',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"4FAC5F05-FDF0-4599-9522-0120525F0145\\"\\n}","type":"json"}]',
+ 'title' => 'Delete a smart contract project from a consortium',
+ 'summary' => 'Deletes a smart contract project from a consortium.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainConsortiumsV2' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'baas:DeleteAntChainContractProject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ', 'title' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Phone',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'maximum' => '2147483647',
- 'minimum' => '0',
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The phone number associated with the Alipay account of the user whose permission is being revoked.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1380013****', 'title' => ''],
],
],
'responses' => [
@@ -3416,148 +2391,41 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- '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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- ],
- ],
- ],
- ],
+ 'Result' => ['description' => 'The request result.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainConsortiumsV2',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeAntChainCertificateApplicationsV2' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\"\\n}","type":"json"}]',
+ 'title' => 'Cancel transaction QR code scanning permission for ant blockchain',
+ 'summary' => 'Cancels the transaction QR code scanning permission for an Ant Blockchain.',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'baas:DeleteAntChainMiniAppQRCodeAuthorizedUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteFabricChaincode' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3565,69 +2433,80 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
- 'name' => 'AntChainId',
+ 'name' => 'ChaincodeId',
'in' => 'formData',
+ 'schema' => ['description' => 'The chaincode ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'code-sacc-1pr09q7jm****', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ ],
'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'Delete an erroneous chaincode',
+ 'summary' => 'Calls DeleteFabricChaincode to delete an erroneous chaincode.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Status',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'baas:DeleteFabricChaincode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '9223372036854775807',
- 'minimum' => '0',
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'ConsortiumId',
+ 'name' => 'AntChainId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'M8GaMEyX',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v', 'title' => ''],
],
],
'responses' => [
@@ -3635,190 +2514,108 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'The request ID.', 'type' => 'string', 'example' => '1692940F-87C5-468F-8188-6C95FC05BBA5', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'type' => 'object',
'properties' => [
- 'CertificateApplications' => [
- 'description' => '',
+ 'Accounts' => [
+ 'description' => 'The account information.',
'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' => '',
- 'type' => 'string',
- 'example' => '26842',
- ],
- 'AntChainId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
- 'Username' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'uid-103477475017****',
- ],
+ 'AccountPublicKey' => ['description' => 'The public key of the account.', 'type' => 'string', 'example' => 'de44334f1094cbd37e952ef691a837f36eab2e9afdf6bed9bf523c2dde40ff7b1ff526ec11b510d320f536685f75dd90f67fda8d41a69738a76a77c27b1373fb', 'title' => ''],
+ 'Account' => ['description' => 'The account name.', 'type' => 'string', 'example' => '账户名', 'title' => ''],
+ 'AccountRecoveryKey' => ['description' => 'The recovery public key of the account.', 'type' => 'string', 'example' => 'ee54a9c4511345f2de05889540eedb8dfed7b57ab0647c5894e4333596bc2ecef07a0469331d016ad9978b39367a0a5c217ef92ffffcbd6716db6667353891a9', 'title' => ''],
+ 'AccountStatus' => ['description' => 'The account status.', 'type' => 'string', 'example' => 'NORMAL', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => 'pYogqb9v', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'Pagination' => [
- 'description' => '',
+ 'description' => 'The pagination information.',
'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' => '100',
- ],
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total count.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainCertificateApplicationsV2',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'DescribeAntChainAccounts',
+ 'summary' => 'Queries the account list of an Ant Blockchain.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainAccountsV2' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainAccounts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '10', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'maximum' => '2147483647',
- 'minimum' => '0',
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '1', 'title' => ''],
],
[
'name' => 'AntChainId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '区块链ID', 'title' => ''],
],
[
'name' => 'ConsortiumId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'M8GaMEyX',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX', 'title' => ''],
],
],
'responses' => [
@@ -3826,170 +2623,104 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'type' => 'object',
'properties' => [
'Accounts' => [
- 'description' => '',
+ 'description' => 'The account information.',
'type' => 'array',
'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' => '',
- 'type' => 'string',
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
+ 'AccountPublicKey' => ['description' => 'The public key of the account.', 'type' => 'string', 'example' => '2aa43bae103b6840ce8efdfe6f3fe5e52f8d1db0f44ff762df87ba17eb209979a0e22c934b2728c6c1bab864a6da52de60c5da89793bd839650a1a153e876e32', 'title' => ''],
+ 'Account' => ['description' => 'The account name.', 'type' => 'string', 'example' => 'test', 'title' => ''],
+ 'AccountRecoveryKey' => ['description' => 'The recovery public key of the account.', 'type' => 'string', 'example' => '5a36312d78681794258bb33372586c676adf150ad69e67dbfcaae61bba3607705950bc9efe1bf4a17ac24b05b1615a410e48d2a005dca251c6173495bb47ae29', 'title' => ''],
+ 'AccountStatus' => ['description' => 'The account status.', 'type' => 'string', 'example' => 'NORMAL', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'Pagination' => [
- 'description' => '',
+ 'description' => 'The pagination information.',
'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' => '100',
- ],
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'PageNumber' => ['description' => 'The current page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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 \\"Accounts\\": [\\n {\\n \\"AccountPublicKey\\": \\"2aa43bae103b6840ce8efdfe6f3fe5e52f8d1db0f44ff762df87ba17eb209979a0e22c934b2728c6c1bab864a6da52de60c5da89793bd839650a1a153e876e32\\",\\n \\"Account\\": \\"test\\",\\n \\"AccountRecoveryKey\\": \\"5a36312d78681794258bb33372586c676adf150ad69e67dbfcaae61bba3607705950bc9efe1bf4a17ac24b05b1615a410e48d2a005dca251c6173495bb47ae29\\",\\n \\"AccountStatus\\": \\"NORMAL\\",\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 100\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainAccountsV2Response>\\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 <Accounts>\\n <AccountPublicKey>2aa43bae103b6840ce8efdfe6f3fe5e52f8d1db0f44ff762df87ba17eb209979a0e22c934b2728c6c1bab864a6da52de60c5da89793bd839650a1a153e876e32</AccountPublicKey>\\n <Account>test</Account>\\n <AccountRecoveryKey>5a36312d78681794258bb33372586c676adf150ad69e67dbfcaae61bba3607705950bc9efe1bf4a17ac24b05b1615a410e48d2a005dca251c6173495bb47ae29</AccountRecoveryKey>\\n <AccountStatus>NORMAL</AccountStatus>\\n <AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>\\n </Accounts>\\n <Pagination>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>100</TotalCount>\\n </Pagination>\\n </Result>\\n</DescribeAntChainAccountsV2Response>","errorExample":""}]',
- 'title' => 'DescribeAntChainAccountsV2',
+ 'responseDemo' => '[{"errorExample":"","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 \\"Accounts\\": [\\n {\\n \\"AccountPublicKey\\": \\"2aa43bae103b6840ce8efdfe6f3fe5e52f8d1db0f44ff762df87ba17eb209979a0e22c934b2728c6c1bab864a6da52de60c5da89793bd839650a1a153e876e32\\",\\n \\"Account\\": \\"test\\",\\n \\"AccountRecoveryKey\\": \\"5a36312d78681794258bb33372586c676adf150ad69e67dbfcaae61bba3607705950bc9efe1bf4a17ac24b05b1615a410e48d2a005dca251c6173495bb47ae29\\",\\n \\"AccountStatus\\": \\"NORMAL\\",\\n \\"AntChainId\\": \\"8bd720bde18c4b37b0f4a1c7834db163\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 100\\n }\\n }\\n}","type":"json"}]',
+ 'title' => 'Query the account list of an ant blockchain',
+ 'summary' => 'Queries the account list of an Ant Blockchain (Chinese mainland only).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainBlockV2' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainAccountsV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v', 'title' => ''],
],
[
'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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'M8GaMEyX',
- ],
+ 'schema' => ['description' => 'The block height to query.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1234', 'title' => ''],
],
],
'responses' => [
@@ -3997,227 +2728,83 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'The request ID.', 'type' => 'string', 'example' => '4DDA2E72-778A-4D79-BE70-448A26A57227', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '254761',
- ],
- 'BlockHash' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7',
- ],
- 'AntChainId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
- 'TransSummaryList' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Hash' => [
- 'description' => '',
- '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' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4000000',
- ],
- 'BlockHash' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7',
- ],
- 'ReferenceCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Category' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Alias' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
- ],
- ],
- ],
+ 'PreviousHash' => ['description' => 'The hash of the previous block.', 'type' => 'string', 'example' => 'e11767c7b9d92563663a76f10c69e8354788001e2c9e6bd9267239a81d3bb523', 'title' => ''],
+ 'Version' => ['description' => 'The block version.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''],
+ 'TransactionSize' => ['description' => 'The number of transactions.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1562851727742', 'title' => ''],
+ 'RootTxHash' => ['description' => 'The root transaction hash.', 'type' => 'string', 'example' => '0000000000000000000000000000000000000000000000000000000000000000', 'title' => ''],
+ 'Height' => ['description' => 'The block height.', 'type' => 'integer', 'format' => 'int32', 'example' => '1234', 'title' => ''],
+ 'BlockHash' => ['description' => 'The block hash.', 'type' => 'string', 'example' => 'aeec5963f8deeeae820aaf302f0c925db9fa8d07b9898dac782335f817554e47', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => 'pYogqb9v', 'title' => ''],
+ 'TransSummaryList' => ['description' => 'The transaction list.', 'type' => 'string', 'example' => '[]', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainBlockV2',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query block information of an ant blockchain by block height',
+ 'summary' => 'Queries the block information of an Ant Blockchain by block height.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainTransactionV2' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainBlock',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
],
[
- 'name' => 'Hash',
+ 'name' => 'Height',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '227072dcd1a5d78098da99ccc8024304b9fb54fc6b65e37ef919d7f2da080061',
- ],
+ 'schema' => ['description' => 'The block height.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '100', 'title' => ''],
],
[
'name' => 'ConsortiumId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'M8GaMEyX',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX', 'title' => ''],
],
],
'responses' => [
@@ -4225,210 +2812,118 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'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' => '',
- 'type' => 'string',
- 'example' => '5675407026657953619',
- ],
- 'To' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5',
- ],
- 'Timestamp' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1563954336850',
- ],
- 'Gas' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '4000000',
- ],
- 'TxType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'UNFREEZE_ACCOUNT_CONTRACT',
- ],
- 'Period' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1563954336850',
- ],
- 'Extentions' => [
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
- ],
- 'Signatures' => [
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '5s6JhauIqAlMb6d+7...',
- ],
+ 'PreviousHash' => ['description' => 'The hash of the previous block.', 'type' => 'string', 'example' => '2444ef0617e0c6845549dead70f118c5a58f03c04575ecb79e283ab5c34b491d', 'title' => ''],
+ 'Version' => ['description' => 'The block version.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'RootTxHash' => ['description' => 'The root transaction hash.', 'type' => 'string', 'example' => '0000000000000000000000000000000000000000000000000000000000000000', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1609223363570', 'title' => ''],
+ 'TransactionSize' => ['description' => 'The number of transactions.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Height' => ['description' => 'The block height.', 'type' => 'integer', 'format' => 'int32', 'example' => '254761', 'title' => ''],
+ 'BlockHash' => ['description' => 'The block hash.', 'type' => 'string', 'example' => '5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
+ 'TransSummaryList' => [
+ 'description' => 'The transaction list.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Hash' => ['description' => 'The transaction hash.', 'type' => 'string', 'example' => '076bba1b726b3bcb958cba6fffc03eaa5cbed59320271dcbc0e05648a18a94f2', 'title' => ''],
+ 'From' => ['description' => 'The source address.', 'type' => 'string', 'example' => 'e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b', 'title' => ''],
+ 'TransTypeV10' => ['description' => 'The contract chain type.', 'type' => 'string', 'example' => 'CALL_CONTRACT', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1609223363570', 'title' => ''],
+ 'TransTypeV6' => ['description' => 'The ledger chain type.', 'type' => 'string', 'example' => '""', 'title' => ''],
+ 'Height' => ['description' => 'The block height.', 'type' => 'integer', 'format' => 'int64', 'example' => '254761', 'title' => ''],
+ 'To' => ['description' => 'The destination address.', 'type' => 'string', 'example' => 'e93372533f323b2f12783aa3a586135cf421486439c2cdcde47411b78f9839ec', 'title' => ''],
+ 'GasUsed' => ['description' => 'The amount of gas used.', 'type' => 'integer', 'format' => 'int64', 'example' => '4000000', 'title' => ''],
+ 'BlockHash' => ['description' => 'The block hash.', 'type' => 'string', 'example' => '5abf96debc87f1b64dcbaf4fa57fd46f2a06acdb5de0ba91ef9718d81aebafc7', 'title' => ''],
+ 'ReferenceCount' => ['description' => 'The reference count.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'Category' => ['description' => 'The category.', 'type' => 'integer', 'format' => 'int32', 'example' => '-1', 'title' => ''],
+ 'Alias' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainTransactionV2',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query block information of an ant blockchain by block height',
+ 'summary' => 'Queries the block information of an Ant Blockchain by block height. This operation is applicable only to Alibaba Cloud China Website (www.aliyun.com).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainTransactionReceiptV2' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainBlockV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1q8B5R9p', 'title' => ''],
],
[
- 'name' => 'Hash',
+ 'name' => 'Status',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
+ 'schema' => ['description' => 'The status.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'ConsortiumId',
+ 'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'M8GaMEyX',
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '20', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''],
],
],
'responses' => [
@@ -4436,243 +2931,120 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'The request ID.', 'type' => 'string', 'example' => 'B232A84E-7944-4EB0-83D0-9D409E12E0A8', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'data',
- ],
- 'GasUsed' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '20000',
- ],
- 'Result' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Logs' => [
+ 'CertificateApplications' => [
+ 'description' => 'The Certificate Signing Request (CSR) information.',
'type' => 'array',
'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => 'The certificate status. Valid values:'."\n"
+ .'- 1: Normal.'."\n"
+ .'- 2: Reset.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'Updatetime' => ['description' => 'The update time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1563949275000', 'title' => ''],
+ 'Createtime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1563949275000', 'title' => ''],
+ 'Bid' => ['description' => 'Bid', 'type' => 'string', 'example' => '26842', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => '1q8B5R9p', 'title' => ''],
+ 'Username' => ['description' => 'The username.', 'type' => 'string', 'example' => 'uid-128712635330****', 'title' => ''],
+ ],
'description' => '',
- 'type' => 'string',
- 'example' => '[""]',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Pagination' => [
+ 'description' => 'The pagination information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
+ 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainTransactionReceiptV2',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query consortium member application to connect to ant blockchain',
+ 'summary' => 'Queries the information about a consortium member\'s application to connect to an Ant Blockchain.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainLatestTransactionDigestsV2' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [
- [
- 'name' => 'AntChainId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
- ],
- [
- 'name' => 'ConsortiumId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'M8GaMEyX',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'All Resource', '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' => 'DescribeAntChainLatestTransactionDigestsV2',
- ],
- 'DescribeAntChainTransactionStatisticsV2' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
],
[
- 'name' => 'Start',
+ 'name' => 'Status',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '9223372036854775807',
- 'minimum' => '0',
- 'example' => '1609084800000',
- ],
+ 'schema' => ['description' => 'The certificate status. Valid values:'."\n"
+ .'- 0: pending'."\n"
+ .'- 1: Normal'."\n"
+ .'- 2: failed.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'End',
+ 'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '9223372036854775807',
- 'minimum' => '0',
- 'example' => '1609776000000',
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '10', 'title' => ''],
],
[
'name' => 'ConsortiumId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'M8GaMEyX',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX', 'title' => ''],
],
],
'responses' => [
@@ -4680,285 +3052,105 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'The result status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'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' => 'The request result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'CertificateApplications' => [
+ 'description' => 'The Certificate Signing Request (CSR) information.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => 'The status.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'Updatetime' => ['description' => 'The update time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1609848404000', 'title' => ''],
+ 'Createtime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1609848404000', 'title' => ''],
+ 'Bid' => ['description' => 'The Alibaba Cloud Bid account.', 'type' => 'string', 'example' => '26842', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
+ 'Username' => ['description' => 'The username.', 'type' => 'string', 'example' => 'uid-103477475017****', 'title' => ''],
+ ],
'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4',
+ 'title' => '',
+ 'example' => '',
],
- 'AntChainId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Pagination' => [
+ 'description' => 'The pagination information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'PageNumber' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total count.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainTransactionStatisticsV2',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'View application to connect to ant blockchain',
+ 'summary' => 'Queries the information about a consortium member\'s application to connect to an Ant Blockchain.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainLatestBlocksV2' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'AntChainId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '',
- ],
- ],
- [
- 'name' => 'ConsortiumId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'M8GaMEyX',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
- ],
- ],
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainCertificateApplicationsV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => 'DescribeAntChainLatestBlocksV2',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeAntChainInformationV2' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10', 'title' => ''],
],
[
- 'name' => 'ConsortiumId',
+ 'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'M8GaMEyX',
- ],
+ 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''],
],
],
'responses' => [
@@ -4966,180 +3158,102 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'type' => 'object',
'properties' => [
- 'IsRole' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
- 'Normal' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'NodeInfos' => [
- 'description' => '',
+ 'AntConsortiums' => [
+ 'description' => 'The Ant Blockchain consortiums.',
'type' => 'array',
'items' => [
+ 'description' => 'The Ant Blockchain consortiums.',
'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' => 'The description of the consortium.', 'type' => 'string', 'example' => '测试联盟', 'title' => ''],
+ 'Status' => ['description' => 'The status of the consortium.', 'type' => 'string', 'example' => 'Active', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'DV80nJXq', 'title' => ''],
+ 'CreateTime' => ['description' => 'The timestamp when the consortium was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1562845453000', 'title' => ''],
+ 'MemberNum' => ['description' => 'The number of members in the consortium.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''],
+ 'Role' => ['description' => 'The role of the account.', 'type' => 'string', 'example' => 'SuperAdmin', 'title' => ''],
+ 'ConsortiumName' => ['description' => 'The name of the consortium.', 'type' => 'string', 'example' => '第一个联盟', 'title' => ''],
+ 'ChainNum' => ['description' => 'The number of blockchains in the consortium.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Pagination' => [
+ 'description' => 'The pagination information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of consortiums.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve consortium list',
+ 'summary' => 'Retrieves the list of consortiums.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainConsortiums' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainConsortiums',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '1', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '10', 'title' => ''],
],
],
'responses' => [
@@ -5147,133 +3261,103 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC',
- ],
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'The result status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'type' => 'object',
'properties' => [
'AntConsortiums' => [
- 'description' => '',
+ 'description' => 'The Ant Blockchain consortiums.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ConsortiumDescription' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Status' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Active',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- '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' => 'The description of the consortium.', 'type' => 'string', 'example' => 'test', 'title' => ''],
+ 'Status' => ['description' => 'The status of the consortium.', 'type' => 'string', 'example' => 'Active', 'title' => ''],
+ 'IsEmptyConsortium' => ['description' => 'Indicates whether the consortium is empty.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'M8GaMEyX', 'title' => ''],
+ 'CreateTime' => ['description' => 'The timestamp when the consortium was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1609745002000', 'title' => ''],
+ 'MemberNum' => ['description' => 'The number of members in the consortium.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''],
+ 'Role' => ['description' => 'The identity role of the account.', 'type' => 'string', 'example' => 'Member', 'title' => ''],
+ 'ConsortiumName' => ['description' => 'The name of the consortium.', 'type' => 'string', 'example' => '测试用', 'title' => ''],
+ 'ChainNum' => ['description' => 'The number of blockchains in the consortium.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'Pagination' => [
- 'description' => '',
+ 'description' => 'The pagination information.',
'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' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'PageNumber' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of consortiums.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainConsortiums',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve consortium list',
+ 'summary' => 'Retrieves the list of consortiums (applicable only to Alibaba Cloud China Website (www.aliyun.com)).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainDownloadPaths' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainConsortiumsV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1q8B5R9p',
- ],
+ 'schema' => ['description' => 'The project ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2L9VK68g', 'title' => ''],
],
],
'responses' => [
@@ -5281,57 +3365,62 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'E6F487D4-8606-41B5-B289-46D5EFBD3417',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A0DF307A-A44A-476F-99D8-BA4F205350BD', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'type' => 'object',
'properties' => [
- 'SdkUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://***',
- ],
- 'CaCrtUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://***ca.crt',
- ],
- 'ClientCrtUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://***client.crt',
- ],
- 'TrustCaUrl' => [
+ 'ProjectVersion' => ['description' => 'The project version.', 'type' => 'string', 'example' => '5', 'title' => ''],
+ 'ProjectDescription' => ['description' => 'The project description.', 'type' => 'string', 'example' => 'description', 'title' => ''],
+ 'ProjectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => '2L9VK68g', 'title' => ''],
+ 'ProjectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'projectname', 'title' => ''],
+ 'Children' => [
+ 'type' => 'array',
+ 'items' => ['description' => 'The child files.', 'type' => 'object', 'example' => '[]', 'title' => ''],
'description' => '',
- 'type' => 'string',
- 'example' => 'http://***trustCa',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainDownloadPaths',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve the content tree of a smart contract project',
+ 'summary' => 'Retrieves the content tree of a smart contract project.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChains' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainContractProjectContentTree',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeAntChainContractProjectContentTreeV2' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5339,44 +3428,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' => 'The project ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2L9VK68g', 'title' => ''],
],
[
'name' => 'ConsortiumId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'AroN3X2l',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'M8GaMEyX', 'title' => ''],
],
],
'responses' => [
@@ -5384,184 +3446,72 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'Contract',
- ],
- 'MemberStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ChainApplied',
- ],
- 'MerkleTreeSuit' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'fdmt',
- ],
- 'IsAdmin' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AntChainName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'RegionId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'Network' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Running',
- ],
- 'TlsAlgo' => [
- 'description' => '',
- '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' => '',
- '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' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Result' => ['description' => 'The request result.', 'type' => 'string', 'example' => '""', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve the content tree of a smart contract project',
+ 'summary' => 'Retrieves the content tree of a smart contract project (applicable only to Alibaba Cloud China Website (www.aliyun.com)).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainTransaction' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainContractProjectContentTreeV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'pYogqb9v',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DV80nJXq', 'title' => ''],
],
[
- 'name' => 'Hash',
+ 'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca',
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''],
],
],
'responses' => [
@@ -5569,158 +3519,106 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '7DCE6520-E5DB-4859-90AC-BDDB8A5501C6',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5EDAC16F-EA3E-4017-B223-D76220F985DF', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'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' => 'The smart contract projects.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'UpdateTime' => ['description' => 'The update time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1563954499000', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'DV80nJXq', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1562847564000', 'title' => ''],
+ 'ProjectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => '2L9VK68g', 'title' => ''],
+ 'ProjectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'projectname', 'title' => ''],
+ 'ProjectVersion' => ['description' => 'The project version.', 'type' => 'string', 'example' => '5', 'title' => ''],
+ 'ProjectDescription' => ['description' => 'The project description.', 'type' => 'string', 'example' => 'description', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'Transaction' => [
- 'description' => '',
+ 'Pagination' => [
+ 'description' => 'The pagination information.',
'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' => '',
- 'type' => 'string',
- 'example' => '5675407026657953619',
- ],
- 'To' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5',
- ],
- 'Timestamp' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1563954336850',
- ],
- 'Gas' => [
- 'description' => '',
- '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' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total count.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainTransaction',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve the list of smart contract projects within a consortium',
+ 'summary' => 'Retrieves the list of smart contract projects within a consortium.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainInformation' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainContractProjects',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'pYogqb9v',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'M8GaMEyX', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '10', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1', 'title' => ''],
],
],
'responses' => [
@@ -5728,190 +3626,101 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '91246411-C7E9-4EFD-9074-3939AEDFC1BB',
- ],
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'The result status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'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' => '',
- 'type' => 'string',
- 'example' => 'pYogqb9v',
- ],
- 'Normal' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'NodeInfos' => [
- 'description' => '',
+ 'ContractProjects' => [
+ 'description' => 'The smart contract projects.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '',
- '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' => 'The update time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1609848383000', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'M8GaMEyX', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1609848383000', 'title' => ''],
+ 'ProjectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'RXwQj6m8', 'title' => ''],
+ 'ProjectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'test', 'title' => ''],
+ 'ProjectVersion' => ['description' => 'The project version.', 'type' => 'string', 'example' => '1.0.0', 'title' => ''],
+ 'ProjectDescription' => ['description' => 'The project description.', 'type' => 'string', 'example' => 'test', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Pagination' => [
+ 'description' => 'The pagination information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'PageNumber' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total count.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainInformation',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'List smart contract projects in a consortium',
+ 'summary' => 'Retrieves the list of smart contract projects within a consortium (applicable only to the China site).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainLatestBlocks' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'AntChainId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'pYogqb9v',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'B52C552F-DDE6-4779-9BA2-9DD455275528',
- ],
- 'Result' => [
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'example' => '[{"blockHash":"","previousHash":"","size":"","createTime":"","transactionSize":"","alias": "","bizData":"","version": "","rootTxHash":"","height":""}]',
- ],
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainContractProjectsV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
- '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' => 'DescribeAntChainLatestBlocks',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
],
- 'DescribeAntChainLatestTransactionDigests' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'pYogqb9v',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1q8B5R9p', 'title' => ''],
],
],
'responses' => [
@@ -5919,71 +3728,73 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '3348160E-187B-47BD-B1B9-76AD4AFA4558',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E6F487D4-8606-41B5-B289-46D5EFBD3417', 'title' => ''],
'Result' => [
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'example' => '[{"transactionV10Type","createTime","from","to","hash"}]',
+ 'description' => 'The request result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'SdkUrl' => ['description' => 'The download URL of the SDK.', 'type' => 'string', 'example' => 'http://***', 'title' => ''],
+ 'CaCrtUrl' => ['description' => 'The download URL of ca.crt.', 'type' => 'string', 'example' => 'http://***ca.crt', 'title' => ''],
+ 'ClientCrtUrl' => ['description' => 'The download URL of client.crt.', 'type' => 'string', 'example' => 'http://***client.crt', 'title' => ''],
+ 'TrustCaUrl' => ['description' => 'The download URL of trust.CA.', 'type' => 'string', 'example' => 'http://***trustCa', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve the download URL of an ant blockchain certificate',
+ 'summary' => 'Retrieves the download URL of a certificate related to an Ant Blockchain.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainBlock' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainDownloadPaths',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'pYogqb9v',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
],
[
- 'name' => 'Height',
+ 'name' => 'ConsortiumId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1234',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX', 'title' => ''],
],
],
'responses' => [
@@ -5991,130 +3802,73 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '4DDA2E72-778A-4D79-BE70-448A26A57227',
- ],
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'The result status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'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' => '',
- 'type' => 'string',
- 'example' => 'pYogqb9v',
- ],
- 'TransSummaryList' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'SdkUrl' => ['description' => 'The download URL of the SDK.', 'type' => 'string', 'example' => 'http://***', 'title' => ''],
+ 'CaCrtUrl' => ['description' => 'The download URL of ca.crt.', 'type' => 'string', 'example' => 'http://***ca.crt', 'title' => ''],
+ 'ClientCrtUrl' => ['description' => 'The download URL of client.crt.', 'type' => 'string', 'example' => 'http://***client.crt', 'title' => ''],
+ 'TrustCaUrl' => ['description' => 'The download URL of trustCA.', 'type' => 'string', 'example' => 'http://***trustCa', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainBlock',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve the download URL of an ant blockchain certificate',
+ 'summary' => 'Retrieves the download URL of a certificate related to Ant Blockchain (applicable only to the Alibaba Cloud China Website (www.aliyun.com)).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainAccounts' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainDownloadPathsV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'pYogqb9v',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v', 'title' => ''],
],
],
'responses' => [
@@ -6122,150 +3876,97 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1692940F-87C5-468F-8188-6C95FC05BBA5',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '91246411-C7E9-4EFD-9074-3939AEDFC1BB', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The query result.',
'type' => 'object',
'properties' => [
- 'Accounts' => [
- 'description' => '',
+ 'TransactionSum' => ['description' => 'The total number of transactions.', 'type' => 'integer', 'format' => 'int32', 'example' => '42', 'title' => ''],
+ 'Version' => ['description' => 'The blockchain version.', 'type' => 'string', 'example' => '0.10.2.4.7', 'title' => ''],
+ 'BlockHeight' => ['description' => 'The blockchain height.', 'type' => 'integer', 'format' => 'int32', 'example' => '365236', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1562847396000', 'title' => ''],
+ 'NodeNumber' => ['description' => 'The total number of nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''],
+ 'AbnormalNodes' => ['description' => 'The number of abnormal nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => 'pYogqb9v', 'title' => ''],
+ 'Normal' => ['description' => 'The running status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'NodeInfos' => [
+ 'description' => 'The node information.',
'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' => '',
- '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' => 'The node status. Valid values:'."\n"
+ .'- true: The node is normal.'."\n"
+ .'- false: The node is abnormal.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'NodeName' => ['description' => 'The node address.', 'type' => 'string', 'example' => '121.199.195.8 18130', 'title' => ''],
+ 'Version' => ['description' => 'The running version.', 'type' => 'string', 'example' => '0.10', 'title' => ''],
+ 'BlockHeight' => ['description' => 'The blockchain height.', 'type' => 'integer', 'format' => 'int64', 'example' => '365216', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query basic information of an ant blockchain',
+ 'summary' => 'Queries the basic information of an Ant Blockchain.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainCertificateApplications' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2023-04-18T03:54:10.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainInformation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1q8B5R9p',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
],
[
- 'name' => 'Status',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
- ],
- [
- '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' => 'The consortium ID.', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX', 'title' => ''],
],
],
'responses' => [
@@ -6273,146 +3974,96 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'B232A84E-7944-4EB0-83D0-9D409E12E0A8',
- ],
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'The result status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'type' => 'object',
'properties' => [
- 'CertificateApplications' => [
- 'description' => '',
+ 'IsRole' => ['description' => 'The node role. The value is always false. This is a reserved field that is not in use.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'TransactionSum' => ['description' => 'The total number of transactions.', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''],
+ 'Version' => ['description' => 'The blockchain version.', 'type' => 'string', 'example' => '0.10', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1609221924000', 'title' => ''],
+ 'BlockHeight' => ['description' => 'The blockchain height.', 'type' => 'integer', 'format' => 'int32', 'example' => '259988', 'title' => ''],
+ 'NodeNumber' => ['description' => 'The total number of nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''],
+ 'AbnormalNodes' => ['description' => 'The number of abnormal nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
+ 'Normal' => ['description' => 'The running status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'NodeInfos' => [
+ 'description' => 'The node information.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '',
- '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' => '',
- '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' => 'The node status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'NodeName' => ['description' => 'The node address.', 'type' => 'string', 'example' => '8.136.158.115 18130', 'title' => ''],
+ 'Version' => ['description' => 'The running version.', 'type' => 'string', 'example' => '0.10', 'title' => ''],
+ 'BlockHeight' => ['description' => 'The blockchain height.', 'type' => 'integer', 'format' => 'int64', 'example' => '259988', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainCertificateApplications',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'DescribeAntChainInformationV2',
+ 'summary' => 'Queries the basic information of an Ant Blockchain (applicable only to the China site).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainContractProjects' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:57.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainInformationV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ 'DescribeAntChainLatestBlocks' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'ConsortiumId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'DV80nJXq',
- ],
- ],
- [
- 'name' => 'PageSize',
+ 'name' => 'AntChainId',
'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' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v', 'title' => ''],
],
],
'responses' => [
@@ -6420,236 +4071,74 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '5EDAC16F-EA3E-4017-B223-D76220F985DF',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B52C552F-DDE6-4779-9BA2-9DD455275528', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'ContractProjects' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'UpdateTime' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1563954499000',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'DV80nJXq',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1562847564000',
- ],
- 'ProjectId' => [
- 'description' => '',
- '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',
- ],
- ],
- ],
- ],
+ 'description' => 'The query result.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The query result:'."\n"
+ .'- blockHash: the hash of the block.'."\n"
+ .'- previousHash: the hash of the previous block.'."\n"
+ .'- size: the block size.'."\n"
+ .'- createTime: the block timestamp.'."\n"
+ .'- transactionSize: the number of transactions in the block.'."\n"
+ .'- alias: the blockchain ID.'."\n"
+ .'- bizData: the transaction data.'."\n"
+ .'- version: the block version.'."\n"
+ .'- rootTxHash: the root hash.'."\n"
+ .'- height: the block height.', 'type' => 'object', 'example' => '[{"blockHash":"","previousHash":"","size":"","createTime":"","transactionSize":"","alias": "","bizData":"","version": "","rootTxHash":"","height":""}]', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainContractProjects',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeAntChainContractProjectContentTree' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ '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' => 'Query the latest block information list of an ant blockchain',
+ 'summary' => 'Queries the latest block information list of an Ant Blockchain.',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [
- [
- 'name' => 'ProjectId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2L9VK68g',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- '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' => 'All Resource', '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' => 'DescribeAntChainContractProjectContentTree',
- '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' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '查询一条蚂蚁区块链最新的区块信息列表(仅适用于阿里云国内站', 'title' => ''],
],
[
'name' => 'ConsortiumId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'q0oWq92P',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX', 'title' => ''],
],
],
'responses' => [
@@ -6657,127 +4146,85 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'E0DB75A2-28C8-4295-8851-A157FFB3DFED',
- ],
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'The result status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Members' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AllianceNotJoined',
- ],
- 'MemberId' => [
- 'description' => '',
- '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',
- ],
- ],
+ 'description' => 'The request result.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PreviousHash' => ['description' => 'The hash of the previous block.', 'type' => 'string', 'example' => 'f208834bdc72bd6bb05c5ef1a35abbc8295a16deda9526b7b78c69ec24591b9f', 'title' => ''],
+ 'Version' => ['description' => 'The version information.', 'type' => 'integer', 'format' => 'int64', 'example' => '33556226', 'title' => ''],
+ 'TransactionSize' => ['description' => 'The number of transactions in the block.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'Size' => ['description' => 'The block size.', 'type' => 'integer', 'format' => 'int64', 'example' => '1024', 'title' => ''],
+ 'RootTxHash' => ['description' => 'The root hash.', 'type' => 'string', 'example' => '0000000000000000000000000000000000000000000000000000000000000000', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1610002621000', 'title' => ''],
+ 'Height' => ['description' => 'The block height.', 'type' => 'integer', 'format' => 'int64', 'example' => '259808', 'title' => ''],
+ 'BizData' => ['description' => 'The block hash.', 'type' => 'string', 'example' => 'b21baa257788d97eb0006672ccc5008f465365e1dec88d0bbd833e150414b3d5', 'title' => ''],
+ 'BlockHash' => ['description' => 'The block hash.', 'type' => 'string', 'example' => 'b21baa257788d97eb0006672ccc5008f465365e1dec88d0bbd833e150414b3d5', 'title' => ''],
+ 'Alias' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainMembers',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query the latest block information list of an ant blockchain',
+ 'summary' => 'Queries the list of latest block information for an Ant Blockchain (applicable only to Alibaba Cloud China Website (www.aliyun.com)).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainTransactionReceipt' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainLatestBlocksV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'pYogqb9v',
- ],
- ],
- [
- 'name' => 'Hash',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v', 'title' => ''],
],
],
'responses' => [
@@ -6785,81 +4232,69 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '9EC8FDC1-ED32-4EC0-AEC2-AFAA906ADBAB',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '3348160E-187B-47BD-B1B9-76AD4AFA4558', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'data',
- ],
- 'GasUsed' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '20000',
- ],
- 'Result' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Logs' => [
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[""]',
- ],
- ],
- ],
+ 'description' => 'The blockchain information.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The request result data:'."\n"
+ .'- from: the transaction sender.'."\n"
+ .'- to: the transaction destination or smart contract address.'."\n"
+ .'- hash: the transaction hash.'."\n"
+ .'- createTime: the transaction timestamp.'."\n"
+ .'- transactionV10Type: the transaction type. No other types are available.', 'type' => 'object', 'example' => '[{"transactionV10Type","createTime","from","to","hash"}]', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainTransactionReceipt',
- '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' => 'Queries the latest transaction summary list of an Ant Blockchain.',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainLatestTransactionDigests',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1q8B5R9p',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
+ ],
+ [
+ 'name' => 'ConsortiumId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX', 'title' => ''],
],
],
'responses' => [
@@ -6867,83 +4302,75 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'BA9738FE-F427-44FD-A1D9-EB4EFB43075A',
- ],
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'The result status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'example' => '["nodeState","publicKey","nodeType","nodeId","endpoints"]',
- ],
+ 'items' => ['description' => 'The request result.', 'type' => 'string', 'example' => '[]', 'title' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainNodes',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeAntChainTransactionStatistics' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query the latest transaction summary list of an ant blockchain',
+ 'summary' => 'Queries the latest transaction summary list of an Ant Blockchain (Chinese mainland only).',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainLatestTransactionDigestsV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'pYogqb9v',
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10', 'title' => ''],
],
[
- 'name' => 'Start',
+ 'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1563206400000',
- ],
+ 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'End',
+ 'name' => 'ConsortiumId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1563897600000',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'q0oWq92P', 'title' => ''],
],
],
'responses' => [
@@ -6951,68 +4378,81 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'E93884AC-6C21-4FEA-8E3A-7377D33B194F',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E0DB75A2-28C8-4295-8851-A157FFB3DFED', 'title' => ''],
'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' => 'The request result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Members' => [
+ 'description' => 'The consortium members.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => 'The status of joining the consortium.', 'type' => 'string', 'example' => 'AllianceNotJoined', 'title' => ''],
+ 'MemberId' => ['description' => 'The member ID.', 'type' => 'string', 'example' => 'uid-1388601577407805', 'title' => ''],
+ 'Role' => ['description' => 'The member role.', 'type' => 'string', 'example' => 'Member', 'title' => ''],
+ 'MemberName' => ['description' => 'The member name.', 'type' => 'string', 'example' => 'uid-1562589998337656', 'title' => ''],
+ 'JoinTime' => ['description' => 'The timestamp when the member joined the consortium.', 'type' => 'integer', 'format' => 'int64', 'example' => '1557477823000', 'title' => ''],
+ ],
'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
+ 'title' => '',
+ 'example' => '',
],
- 'AntChainId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'pYogqb9v',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Pagination' => [
+ 'description' => 'The pagination information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainTransactionStatistics',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve consortium member list',
+ 'summary' => 'Retrieves the list of consortium members.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainQRCodeAuthorization' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMembers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeAntChainMembersV2' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7020,31 +4460,22 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AntChainId',
+ 'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'bDXK6boZ',
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '10', 'title' => ''],
],
[
- 'name' => 'QRCodeType',
+ 'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MINI_APP_BROWSER_TRANSACTION',
- ],
+ 'schema' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'ConsortiumId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'M8GaMEyX', 'title' => ''],
],
],
'responses' => [
@@ -7052,49 +4483,87 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC',
- ],
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'type' => 'object',
'properties' => [
- 'QRCodeType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'MINI_APP_BROWSER_TRANSACTION',
- ],
- 'AuthorizationType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ALL_USER_AUTHORIZATION',
+ 'Members' => [
+ 'description' => 'The consortium members.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => 'The membership status.', 'type' => 'string', 'example' => 'AllianceJoined', 'title' => ''],
+ 'MemberId' => ['description' => 'The member ID.', 'type' => 'string', 'example' => '1034774750177934', 'title' => ''],
+ 'Role' => ['description' => 'The role of the member in the consortium.', 'type' => 'string', 'example' => 'Member', 'title' => ''],
+ 'MemberName' => ['description' => 'The member name.', 'type' => 'string', 'example' => 'uid-1034774750177934', 'title' => ''],
+ 'JoinTime' => ['description' => 'The timestamp when the member joined the consortium.', 'type' => 'integer', 'format' => 'int64', 'example' => '1609745002000', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'AntChainId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'bDXK6boZ',
+ 'Pagination' => [
+ 'description' => 'The pagination information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'PageNumber' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainQRCodeAuthorization',
- ],
- 'DescribeAntChainMiniAppBrowserQRCodeAccessLog' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Get Consortium Member List',
+ 'summary' => 'Retrieves the list of consortium members (applicable only to Alibaba Cloud China site).',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMembersV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ ],
+ 'DescribeAntChainMiniAppBrowserQRCodeAccessLog' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7102,31 +4571,19 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'AntChainId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'bDXK6boZ',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ', 'title' => ''],
],
[
'name' => 'QRCodeType',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MINI_APP_BROWSER_TRANSACTION',
- ],
+ 'schema' => ['description' => 'The type of the QR code. Valid values:'."\n"
+ ."\n"
+ .'- MINI_APP_BROWSER_TRANSACTION: the Alipay mini program blockchain browser.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MINI_APP_BROWSER_TRANSACTION', 'title' => ''],
],
],
'responses' => [
@@ -7134,45 +4591,50 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The response result.',
'type' => 'object',
'properties' => [
- 'AccessAlipayAccountCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'AccessCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
+ 'AccessAlipayAccountCount' => ['description' => 'The total number of accounts that performed queries.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
+ 'AccessCount' => ['description' => 'The total number of queries.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAntChainMiniAppBrowserQRCodeAccessLog',
- ],
- 'DescribeAntChainMiniAppBrowserTransactionQRCode' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\",\\n \\"Result\\": {\\n \\"AccessAlipayAccountCount\\": 100,\\n \\"AccessCount\\": 1000\\n }\\n}","type":"json"}]',
+ 'title' => 'Query QR code scanning statistics information from Alipay',
+ 'summary' => 'Queries the QR code scanning statistics information from the Alipay client for Ant Blockchain transactions.',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAccessLog',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ 'DescribeAntChainMiniAppBrowserQRCodeAccessLogV2' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7180,31 +4642,19 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'AntChainId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'bDXK6boZ',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
],
[
- 'name' => 'TransactionHash',
+ 'name' => 'QRCodeType',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '4a1f1371012cf840a9e4c6bde430d5ba600e422e592d153bd2689783cd1f87d0',
- ],
+ 'schema' => ['description' => 'The QR code type. Valid values:'."\n"
+ ."\n"
+ .'- MINI_APP_BROWSER_TRANSACTION: the Alipay mini program blockchain browser.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MINI_APP_BROWSER_TRANSACTION', 'title' => ''],
],
],
'responses' => [
@@ -7212,54 +4662,56 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC',
- ],
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The response data.',
'type' => 'object',
'properties' => [
- 'Base64QRCodePNG' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'bDXK6boZ',
- ],
+ 'AccessAlipayAccountCount' => ['description' => 'The total number of accounts that performed queries.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
+ 'AccessCount' => ['description' => 'The total number of queries.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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&amp;from=aliyun&amp;bizid=bDXK6boZ&amp;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' => 'DescribeAntChainMiniAppBrowserTransactionQRCode',
- ],
- 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsers' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query ant blockchain alipay QR code scanning statistics information',
+ 'summary' => 'Queries the statistics information of QR code scanning on the Alipay client for Ant Blockchain transactions.',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAccessLogV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ ],
+ 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsers' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7267,55 +4719,29 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'AntChainId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'bDXK6boZ',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ', 'title' => ''],
],
[
'name' => 'QRCodeType',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MINI_APP_BROWSER_TRANSACTION',
- ],
+ 'schema' => ['description' => 'The QR code type. Valid values:'."\n"
+ ."\n"
+ .'- MINI_APP_BROWSER_TRANSACTION: Alipay mini program blockchain browser.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MINI_APP_BROWSER_TRANSACTION', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''],
],
],
'responses' => [
@@ -7323,95 +4749,87 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'type' => 'object',
'properties' => [
- 'QRCodeType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'MINI_APP_BROWSER_TRANSACTION',
- ],
- 'AuthorizationType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ALL_USER_AUTHORIZATION',
- ],
- 'AntChainId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'bDXK6boZ',
- ],
+ 'QRCodeType' => ['description' => 'The QR code type. Valid values:'."\n"
+ ."\n"
+ .'- MINI_APP_BROWSER_TRANSACTION: Alipay mini program blockchain browser.', 'type' => 'string', 'example' => 'MINI_APP_BROWSER_TRANSACTION', 'title' => ''],
+ 'AuthorizationType' => ['description' => 'The authorization type. Valid values:'."\n"
+ ."\n"
+ .'- ALL_USER_AUTHORIZATION: All users are authorized.'."\n"
+ .'- SPECIFIC_USER_AUTHORIZATION: Specific users are authorized.'."\n"
+ .'- UNAUTHORIZED: No users are authorized.', 'type' => 'string', 'example' => 'ALL_USER_AUTHORIZATION', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => 'bDXK6boZ', 'title' => ''],
'AuthorizedUserList' => [
- 'description' => '',
+ 'description' => 'The list of authorized users.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'GmtAuthorized' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1580958389000',
- ],
- 'Phone' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1380013****',
- ],
+ 'GmtAuthorized' => ['description' => 'The authorization time.', 'type' => 'string', 'example' => '1580958389000', 'title' => ''],
+ 'Phone' => ['description' => 'The phone number of the authorized user.', 'type' => 'string', 'example' => '1380013****', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'Pagination' => [
- 'description' => '',
+ 'description' => 'The pagination information.',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'PageSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
+ 'PageNumber' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of authorized users.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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 \\"AuthorizedUserList\\": [\\n {\\n \\"GmtAuthorized\\": \\"1580958389000\\",\\n \\"Phone\\": \\"1380013****\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageNumber\\": 10,\\n \\"PageSize\\": 1,\\n \\"TotalCount\\": 100\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse>\\n <code>200</code>\\n <data>\\n <RequestId>03A24567-54B6-46D5-9BC6-FF1B54370DDF</RequestId>\\n <Result>\\n <Pagination>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n </Pagination>\\n <AntChainId>q0oWe792</AntChainId>\\n <AuthorizedUserList>\\n <GmtAuthorized>1580958389000</GmtAuthorized>\\n <Phone>1380013****</Phone>\\n </AuthorizedUserList>\\n <AuthorizationType>SPECIFIC_USER_AUTHORIZATION</AuthorizationType>\\n <QRCodeType>MINI_APP_BROWSER_TRANSACTION</QRCodeType>\\n </Result>\\n </data>\\n <requestId>03A24567-54B6-46D5-9BC6-FF1B54370DDF</requestId>\\n <successResponse>true</successResponse>\\n</DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse>","errorExample":""}]',
- 'title' => 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsers',
+ 'responseDemo' => '[{"errorExample":"","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 \\"AuthorizedUserList\\": [\\n {\\n \\"GmtAuthorized\\": \\"1580958389000\\",\\n \\"Phone\\": \\"1380013****\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageNumber\\": 10,\\n \\"PageSize\\": 1,\\n \\"TotalCount\\": 100\\n }\\n }\\n}","type":"json"}]',
+ 'title' => 'Query QR code authorized scan user list',
+ 'summary' => 'Queries the list of users authorized to scan the transaction QR code of an Ant Blockchain.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ ],
+ 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7419,59 +4837,28 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'AntChainId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '8bd720bde18c4b37b0f4a1c7834db163',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
],
[
'name' => 'QRCodeType',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MINI_APP_BROWSER_TRANSACTION',
- ],
+ 'schema' => ['description' => 'The QR code type. Valid values:'."\n"
+ .'- MINI_APP_BROWSER_TRANSACTION: Alipay mini program blockchain browser.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MINI_APP_BROWSER_TRANSACTION', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '9223372036854775807',
- 'minimum' => '0',
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '10', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '9223372036854775807',
- 'minimum' => '0',
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1', 'title' => ''],
],
],
'responses' => [
@@ -7479,144 +4866,109 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'type' => 'object',
'properties' => [
- 'QRCodeType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'MINI_APP_BROWSER_TRANSACTION',
- ],
- 'AuthorizationType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'SPECIFIC_USER_AUTHORIZATION',
- ],
- 'AntChainId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '4505A1E4-0EDD-4A02-A4D7-B49219328D49',
- ],
+ 'QRCodeType' => ['description' => 'The QR code type. Valid values:'."\n"
+ .'- MINI_APP_BROWSER_TRANSACTION: Alipay mini program blockchain browser.', 'type' => 'string', 'example' => 'MINI_APP_BROWSER_TRANSACTION', 'title' => ''],
+ 'AuthorizationType' => ['description' => 'The authorization type. Valid values:'."\n"
+ .'- ALL_USER_AUTHORIZATION: All users are authorized.'."\n"
+ .'- SPECIFIC_USER_AUTHORIZATION: Specific users are authorized.'."\n"
+ .'- UNAUTHORIZED: No users are authorized.', 'type' => 'string', 'example' => 'SPECIFIC_USER_AUTHORIZATION', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => '4505A1E4-0EDD-4A02-A4D7-B49219328D49', 'title' => ''],
'AuthorizedUserList' => [
- 'description' => '',
+ 'description' => 'The list of authorized users.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'GmtAuthorized' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-07 10:55:42',
- ],
- 'Phone' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1380013****',
- ],
+ 'GmtAuthorized' => ['description' => 'The authorization time.', 'type' => 'string', 'example' => '2021-01-07 10:55:42', 'title' => ''],
+ 'Phone' => ['description' => 'The phone number of the authorized user.', 'type' => 'string', 'example' => '13800138011', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'Pagination' => [
- 'description' => '',
+ 'description' => 'The pagination information.',
'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' => '100',
- ],
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'PageNumber' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of authorized users.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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 \\"QRCodeType\\": \\"MINI_APP_BROWSER_TRANSACTION\\",\\n \\"AuthorizationType\\": \\"SPECIFIC_USER_AUTHORIZATION\\",\\n \\"AntChainId\\": \\"4505A1E4-0EDD-4A02-A4D7-B49219328D49\\",\\n \\"AuthorizedUserList\\": [\\n {\\n \\"GmtAuthorized\\": \\"2021-01-07 10:55:42\\",\\n \\"Phone\\": \\"13800138011\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 100\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response>\\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 <QRCodeType>MINI_APP_BROWSER_TRANSACTION</QRCodeType>\\n <AuthorizationType>SPECIFIC_USER_AUTHORIZATION</AuthorizationType>\\n <AntChainId>4505A1E4-0EDD-4A02-A4D7-B49219328D49</AntChainId>\\n <AuthorizedUserList>\\n <GmtAuthorized>2021-01-07 10:55:42</GmtAuthorized>\\n <Phone>13800138011</Phone>\\n </AuthorizedUserList>\\n <Pagination>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>100</TotalCount>\\n </Pagination>\\n </Result>\\n</DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response>","errorExample":""}]',
- 'title' => 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2',
+ 'responseDemo' => '[{"errorExample":"","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 \\"QRCodeType\\": \\"MINI_APP_BROWSER_TRANSACTION\\",\\n \\"AuthorizationType\\": \\"SPECIFIC_USER_AUTHORIZATION\\",\\n \\"AntChainId\\": \\"4505A1E4-0EDD-4A02-A4D7-B49219328D49\\",\\n \\"AuthorizedUserList\\": [\\n {\\n \\"GmtAuthorized\\": \\"2021-01-07 10:55:42\\",\\n \\"Phone\\": \\"13800138011\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 100\\n }\\n }\\n}","type":"json"}]',
+ 'title' => 'Query authorized users for transaction QR code scanning',
+ 'summary' => 'Queries the list of users authorized to scan the transaction QR code on Ant Blockchain.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ResetAntChainCertificate' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'pYogqb9v',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ', 'title' => ''],
+ ],
+ [
+ 'name' => 'TransactionHash',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The transaction hash.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '4a1f1371012cf840a9e4c6bde430d5ba600e422e592d153bd2689783cd1f87d0', 'title' => ''],
],
],
'responses' => [
@@ -7624,67 +4976,75 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '6ED983D3-C131-4104-8BDD-1F37992258E1',
+ 'description' => 'The response result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Base64QRCodePNG' => ['description' => 'The Base64-encoded QR code PNG image.', 'type' => 'string', 'example' => 'iVBORw0KGgo......ABJRU5ErkJggg==', 'title' => ''],
+ 'TransactionHash' => ['description' => 'The transaction hash.', 'type' => 'string', 'example' => '10692388f8b729cbb42d2985eebd3567812def357eb826a7ec810ce97e1f295e', 'title' => ''],
+ 'QRCodeContent' => ['description' => 'The QR code content.', 'type' => 'string', 'example' => 'https://render.antfin.com/p/s/miniapp-web/?type=trans&from=aliyun&bizid=bDXK6boZ&hash=10692388f8b729cbb42d2985eebd3567812def357eb826a7ec810ce97e1f295e', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => 'bDXK6boZ', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"6ED983D3-C131-4104-8BDD-1F37992258E1\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => 'ResetAntChainCertificate',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ApplyAntChainCertificate' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve ant blockchain transaction QR code',
+ 'summary' => 'Retrieves the QR code for an Ant Blockchain transaction.',
+ 'changeSet' => [
+ ['createdAt' => '2023-04-18T03:54:10.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMiniAppBrowserTransactionQRCode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'bDXK6boZ',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ', 'title' => ''],
],
[
- 'name' => 'UploadReq',
+ 'name' => 'TransactionHash',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LS0tLS1...',
- ],
+ 'schema' => ['description' => 'The transaction hash.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '4a1f1371012cf840a9e4c6bde430d5ba600e422e592d153bd2689783cd1f87d0', 'title' => ''],
+ ],
+ [
+ 'name' => 'ContractId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The contract ID.', 'type' => 'string', 'required' => false, 'example' => '9782291a957d28bec9e02f3dcb27d78392815ede7670b70793e0fd9763309cda', 'title' => ''],
],
],
'responses' => [
@@ -7692,144 +5052,146 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'The result status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'D3FB9E67-0E31-4B8B-8895-3660CCE8CA62',
+ 'description' => 'The request result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Base64QRCodePNG' => ['description' => 'The Base64-encoded QR code PNG image.', 'type' => 'string', 'example' => 'iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAIAAACxN37FAAAcb0lEQVR42u3dCZAc1XkAYGlPSRZIGIwEtos4tlM4lE05hhBsU', 'title' => ''],
+ 'QRCodeContent' => ['description' => 'The QR code content.', 'type' => 'string', 'example' => 'https://render.antfin.com/p/s/miniapp-web/?type=trans&from=aliyun&bizid=8bd720bde18c4b37b0f4a1c7834db163&hash=ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1&contractId=', 'title' => ''],
+ 'TransactionHash' => ['description' => 'The transaction hash.', 'type' => 'string', 'example' => 'ac73c8fa158436513e0b398632d9a082e04cee3eac6f9fb50087a46d801bdfd1', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"D3FB9E67-0E31-4B8B-8895-3660CCE8CA62\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => 'ApplyAntChainCertificate',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve ant blockchain transaction QR code',
+ 'summary' => 'Retrieves the QR code for an Ant Blockchain transaction (applicable only to Alibaba Cloud China Website (www.aliyun.com)).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ApplyAntChainCertificateWithKeyAutoCreation' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:57.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMiniAppBrowserTransactionQRCodeNew',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1q8B5R9p',
- ],
- ],
- [
- 'name' => 'ConsortiumId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'DV80nJXq',
- ],
- ],
- [
- 'name' => 'Password',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'password',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1q8B5R9p', 'title' => ''],
],
- [
- 'name' => 'CountryName',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'countryName',
- ],
- ],
- [
- 'name' => 'StateOrProvinceName',
- 'in' => 'formData',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BA9738FE-F427-44FD-A1D9-EB4EFB43075A', 'title' => ''],
+ 'Result' => [
+ 'description' => 'The request result.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The request result:'."\n"
+ .'- publicKey: the public key of the node.'."\n"
+ .'- nodeId: the node ID.'."\n"
+ .'- nodestate: the node status. The value is 2, which is the only valid status value.'."\n"
+ .'- endpoints: the client access address.'."\n"
+ .'- nodeType: the node type. Valid values:'."\n"
+ .' - 1: consensus node.'."\n"
+ .' - 2: non-consensus node.', 'type' => 'object', 'example' => '["nodeState","publicKey","nodeType","nodeId","endpoints"]', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'stateOrProvinceName',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ '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' => 'Query node information list of an ant blockchain',
+ 'summary' => 'Queries the node information list of an Ant Blockchain.',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:56.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'LocalityName',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'localityName',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainNodes',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DescribeAntChainNodesV2' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'OrganizationName',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'organizationUnitName ',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
],
[
- 'name' => 'CommonName',
+ 'name' => 'ConsortiumId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'commonName',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX', 'title' => ''],
],
],
'responses' => [
@@ -7837,99 +5199,76 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '3E1894AF-FEE7-4C6C-8C2A-2B3EE0105B07',
- ],
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
+ 'type' => 'array',
+ 'items' => ['description' => 'The request result.', 'type' => 'string', 'example' => '[]', 'title' => ''],
'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' => '',
- 'type' => 'string',
- 'example' => 'http://***',
- ],
- 'ClientCrtUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://***client.crt',
- ],
- 'CaCrtUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://***ca.crt',
- ],
- 'TrustCaUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://***trustCa',
- ],
- ],
- ],
- ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'ApplyAntChainCertificateWithKeyAutoCreation',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query ant blockchain node information list',
+ 'summary' => 'Queries the node information list of an Ant Blockchain.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ResetAntChainUserCertificate' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainNodesV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'bDXK6boZ',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ', 'title' => ''],
],
[
- 'name' => 'Username',
+ 'name' => 'QRCodeType',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'uid-128712635330****',
- ],
+ 'schema' => ['description' => 'The type of the QR code. Valid values:'."\n"
+ ."\n"
+ .'- MINI_APP_BROWSER_TRANSACTION: Alipay mini program blockchain browser.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MINI_APP_BROWSER_TRANSACTION', 'title' => ''],
],
],
'responses' => [
@@ -7937,67 +5276,77 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '3EB828D1-1E9D-4EC2-A002-139FE998D674',
+ 'description' => 'The request result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'QRCodeType' => ['description' => 'The type of the QR code. Valid values:'."\n"
+ ."\n"
+ .'- MINI_APP_BROWSER_TRANSACTION: Alipay mini program blockchain browser.', 'type' => 'string', 'example' => 'MINI_APP_BROWSER_TRANSACTION', 'title' => ''],
+ 'AuthorizationType' => ['description' => 'The authorization type. Valid values:'."\n"
+ ."\n"
+ .'- ALL_USER_AUTHORIZATION: All users are authorized.'."\n"
+ .'- SPECIFIC_USER_AUTHORIZATION: Specific users are authorized.'."\n"
+ .'- UNAUTHORIZED: Not authorized.', 'type' => 'string', 'example' => 'ALL_USER_AUTHORIZATION', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => 'bDXK6boZ', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"3EB828D1-1E9D-4EC2-A002-139FE998D674\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => 'ResetAntChainUserCertificate',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'UnfreezeAntChainAccount' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query ant blockchain transaction QR code authorization status',
+ 'summary' => 'Queries the QR code authorization status of an Ant Blockchain transaction.',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:56.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainQRCodeAuthorization',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1q8B5R9p',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
],
[
- 'name' => 'Account',
+ 'name' => 'QRCodeType',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'accountname',
- ],
+ 'schema' => ['description' => 'The type of the QR code. Valid values:'."\n"
+ ."\n"
+ .'- MINI_APP_BROWSER_TRANSACTION: Alipay mini program blockchain browser.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MINI_APP_BROWSER_TRANSACTION', 'title' => ''],
],
],
'responses' => [
@@ -8005,67 +5354,83 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '980061FC-058D-4298-8598-D9DDB10D0ED4', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '6ED983D3-C131-4104-8BDD-1F37992258E1',
+ 'description' => 'The request result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'QRCodeType' => ['description' => 'The type of the QR code. Valid values:'."\n"
+ ."\n"
+ .'- MINI_APP_BROWSER_TRANSACTION: Alipay mini program blockchain browser.', 'type' => 'string', 'example' => 'MINI_APP_BROWSER_TRANSACTION', 'title' => ''],
+ 'AuthorizationType' => ['description' => 'The authorization type. Valid values:'."\n"
+ ."\n"
+ .'- ALL_USER_AUTHORIZATION: All users are authorized.'."\n"
+ .'- SPECIFIC_USER_AUTHORIZATION: Specific users are authorized.'."\n"
+ .'- UNAUTHORIZED: Not authorized.', 'type' => 'string', 'example' => 'ALL_USER_AUTHORIZATION', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'UnfreezeAntChainAccount',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query transaction QR code authorization status',
+ 'summary' => 'Queries the authorization status of an Ant Blockchain transaction QR code.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'FreezeAntChainAccount' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainQRCodeAuthorizationV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1q8B5R9p',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v', 'title' => ''],
],
[
- 'name' => 'Account',
+ 'name' => 'Hash',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'accountname',
- ],
+ 'schema' => ['description' => 'The transaction hash.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca', 'title' => ''],
],
],
'responses' => [
@@ -8073,88 +5438,105 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7DCE6520-E5DB-4859-90AC-BDDB8A5501C6', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '9F862442-F6AD-4B5F-8969-CE23DE1413CB',
+ 'description' => 'The request result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Hash' => ['description' => 'The transaction hash.', 'type' => 'string', 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca', 'title' => ''],
+ 'BlockHash' => ['description' => 'The block hash.', 'type' => 'string', 'example' => '1168bc5dd0b78d15446b15ea5a7f7822a7d07c007dd3a50becf98da220fc08f6', 'title' => ''],
+ 'BlockVersion' => ['description' => 'The block version.', 'type' => 'string', 'example' => '10', 'title' => ''],
+ 'BlockHeight' => ['description' => 'The block height.', 'type' => 'integer', 'format' => 'int64', 'example' => '368169', 'title' => ''],
+ 'CreateTime' => ['description' => 'The transaction creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1563954336850', 'title' => ''],
+ 'Transaction' => [
+ 'description' => 'The transaction details.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Hash' => ['description' => 'The transaction hash.', 'type' => 'string', 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca', 'title' => ''],
+ 'Value' => ['description' => 'The transaction amount.', 'type' => 'string', 'example' => '0', 'title' => ''],
+ 'From' => ['description' => 'The hash of the transaction sender.', 'type' => 'string', 'example' => 'e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b', 'title' => ''],
+ 'Data' => ['description' => 'The data.', 'type' => 'string', 'example' => '“”', 'title' => ''],
+ 'Nonce' => ['description' => 'The transaction nonce.', 'type' => 'string', 'example' => '5675407026657953619', 'title' => ''],
+ 'To' => ['description' => 'The address of the transaction recipient.', 'type' => 'string', 'example' => '961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5', 'title' => ''],
+ 'Timestamp' => ['description' => 'The timestamp when the transaction was sent.', 'type' => 'integer', 'format' => 'int64', 'example' => '1563954336850', 'title' => ''],
+ 'Gas' => ['description' => 'The gas value.', 'type' => 'string', 'example' => '4000000', 'title' => ''],
+ 'TxType' => ['description' => 'The transaction type.', 'type' => 'string', 'example' => 'UNFREEZE_ACCOUNT_CONTRACT', 'title' => ''],
+ 'Period' => ['description' => 'Period', 'type' => 'integer', 'format' => 'int64', 'example' => '1563954336850', 'title' => ''],
+ 'Extentions' => [
+ 'type' => 'array',
+ 'items' => ['description' => 'The extension information.', 'type' => 'string', 'example' => '[]', 'title' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Signatures' => [
+ 'type' => 'array',
+ 'items' => ['description' => 'The signature.', 'type' => 'string', 'example' => '5s6JhauIqAlMb6d+7...', 'title' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"9F862442-F6AD-4B5F-8969-CE23DE1413CB\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => 'FreezeAntChainAccount',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query ant blockchain transaction information',
+ 'summary' => 'Queries the transaction information of an Ant Blockchain transaction by transaction hash.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CopyAntChainContractProject' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainTransaction',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2L9VK68g',
- ],
- ],
- [
- 'name' => 'ProjectName',
+ 'name' => 'AntChainId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'copyproject',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v', 'title' => ''],
],
[
- 'name' => 'ProjectVersion',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'v1.0.1',
- ],
- ],
- [
- 'name' => 'ProjectDescription',
+ 'name' => 'Hash',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'copy project description',
- ],
+ 'schema' => ['description' => 'The transaction hash.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca', 'title' => ''],
],
],
'responses' => [
@@ -8162,107 +5544,86 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '45D67F6F-C723-4AD8-8462-F94EE5FF22E6',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9EC8FDC1-ED32-4EC0-AEC2-AFAA906ADBAB', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
'type' => 'object',
'properties' => [
- 'UpdateTime' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1563953475248',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'DV80nJXq',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1563953475248',
- ],
- 'ProjectId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'R6XMEdXe',
- ],
- 'ProjectName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'copyproject',
- ],
- 'ProjectVersion' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'v1.0.1',
- ],
- 'ProjectDescription' => [
+ 'Data' => ['description' => 'The custom result data.', 'type' => 'string', 'example' => 'data', 'title' => ''],
+ 'GasUsed' => ['description' => 'The gas consumed.', 'type' => 'string', 'example' => '20000', 'title' => ''],
+ 'Result' => ['description' => 'The result. User-defined error codes. Valid values:'."\n"
+ .'- 0: The transaction is executed.'."\n"
+ .'- Non-0: The transaction failed to be executed.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'Logs' => [
+ 'type' => 'array',
+ 'items' => ['description' => 'The smart contract events.', 'type' => 'string', 'example' => '[""]', 'title' => ''],
'description' => '',
- 'type' => 'string',
- 'example' => 'copy project description',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'CopyAntChainContractProject',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query ant blockchain transaction receipt information',
+ 'summary' => 'Queries the transaction receipt information of an Ant Blockchain transaction based on the transaction hash.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'BatchAddAntChainMiniAppQRCodeAuthorizedUsers' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainTransactionReceipt',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'bDXK6boZ',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
],
[
- 'name' => 'PhoneList',
+ 'name' => 'Hash',
'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '',
- 'type' => 'object',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '["1380013****", "1380013****"]',
- ],
+ 'schema' => ['description' => 'The transaction hash.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
+ ],
+ [
+ 'name' => 'ConsortiumId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX', 'title' => ''],
],
],
'responses' => [
@@ -8270,690 +5631,691 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC',
+ 'description' => 'The request result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => ['description' => 'Data', 'type' => 'string', 'example' => 'data', 'title' => ''],
+ 'GasUsed' => ['description' => 'The amount of gas consumed.', 'type' => 'string', 'example' => '20000', 'title' => ''],
+ 'Result' => ['description' => 'The result.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'Logs' => [
+ 'type' => 'array',
+ 'items' => ['description' => 'logs', 'type' => 'string', 'example' => '[""]', 'title' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'BatchAddAntChainMiniAppQRCodeAuthorizedUsers',
- ],
- 'CreateFabricChaincodePackage' => [
- 'summary' => 'CreateFabricChaincodePackage',
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query ant blockchain transaction receipt information',
+ 'summary' => 'Queries the transaction receipt information of an Ant Blockchain transaction by transaction hash (applicable only to Alibaba Cloud China Website (www.aliyun.com)).',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainTransactionReceiptV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v', 'title' => ''],
],
[
- 'name' => 'OssUrl',
+ 'name' => 'Start',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'hi003/7efbe860-1a40-42c9-9e6b-0bc08d7ee3a4/cmcc.tar.gz',
- ],
+ 'schema' => ['description' => 'The start time of the statistical period.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1563206400000', 'title' => ''],
],
[
- 'name' => 'Location',
+ 'name' => 'End',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The end time of the statistical period.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1563897600000', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => '',
'type' => 'object',
'properties' => [
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E93884AC-6C21-4FEA-8E3A-7377D33B194F', 'title' => ''],
'Result' => [
- 'description' => '',
- '$ref' => '#/components/schemas/ChaincodePackage',
+ 'description' => 'The request result.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Dt' => ['description' => 'The time.', 'type' => 'string', 'example' => '2019-07-16', 'title' => ''],
+ 'CreatTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1563294007000', 'title' => ''],
+ 'LastSumBlockHeight' => ['description' => 'The block height at which the last statistics were collected.', 'type' => 'integer', 'format' => 'int64', 'example' => '148018', 'title' => ''],
+ 'TransCount' => ['description' => 'The total number of transactions.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => 'pYogqb9v', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query transaction statistics information of an Ant Blockchain',
+ 'summary' => 'Queries the transaction statistics information of an Ant Blockchain.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-11T11:54:35.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainTransactionStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => 'CreateFabricChaincodePackage',
],
- 'SubmitFabricChaincodeDefinition' => [
- 'summary' => 'SubmitFabricChaincodeDefinition',
- '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- ],
- ],
- [
- 'name' => 'ChaincodePackageId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'collectionconfig',
- ],
- ],
- [
- 'name' => 'Name',
+ 'name' => 'AntChainId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'sacc',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
],
[
- 'name' => 'InitRequired',
+ 'name' => 'Start',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'The start time of the statistical period.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1609084800000', 'title' => ''],
],
[
- 'name' => 'ChannelId',
+ 'name' => 'End',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'chan-channelx-1l1hmckuuisxo',
- ],
+ 'schema' => ['description' => 'The end time of the statistical period.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1609776000000', 'title' => ''],
],
[
- 'name' => 'ChaincodeVersion',
+ 'name' => 'ConsortiumId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1.0',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => '',
'type' => 'object',
'properties' => [
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'The result status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
- 'description' => '',
- '$ref' => '#/components/schemas/ChaincodeVO',
+ 'description' => 'The request result.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Dt' => ['description' => 'The time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1609171200000', 'title' => ''],
+ 'CreatTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1609258222000', 'title' => ''],
+ 'LastSumBlockHeight' => ['description' => 'The last counted block height.', 'type' => 'integer', 'format' => 'int64', 'example' => '11511', 'title' => ''],
+ 'TransCount' => ['description' => 'The total number of transactions.', 'type' => 'integer', 'format' => 'int64', 'example' => '4', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query transaction statistics information of an Ant Blockchain',
+ 'summary' => 'Queries the transaction statistics information of an Ant Blockchain (Chinese mainland only).',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:57.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainTransactionStatisticsV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => 'SubmitFabricChaincodeDefinition',
],
- 'InstallFabricChaincodePackage' => [
- 'summary' => 'InstallFabricChaincodePackage',
- '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
],
[
- 'name' => 'ChaincodePackageId',
+ 'name' => 'Hash',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'chan-channelx-1l1hmckuuisxo',
- ],
+ 'schema' => ['description' => 'The transaction hash.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '227072dcd1a5d78098da99ccc8024304b9fb54fc6b65e37ef919d7f2da080061', 'title' => ''],
],
[
- 'name' => 'Location',
+ 'name' => 'ConsortiumId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => false, 'example' => 'M8GaMEyX', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => '',
'type' => 'object',
'properties' => [
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'The result status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Result' => [
- 'description' => '',
- '$ref' => '#/components/schemas/ChaincodePackage',
+ 'description' => 'The request result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Hash' => ['description' => 'The transaction hash.', 'type' => 'string', 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca', 'title' => ''],
+ 'BlockHash' => ['description' => 'The block hash.', 'type' => 'string', 'example' => '1168bc5dd0b78d15446b15ea5a7f7822a7d07c007dd3a50becf98da220fc08f6', 'title' => ''],
+ 'BlockVersion' => ['description' => 'The block version.', 'type' => 'string', 'example' => '10', 'title' => ''],
+ 'BlockHeight' => ['description' => 'The block height.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
+ 'CreateTime' => ['description' => 'The transaction creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1563954336850', 'title' => ''],
+ 'Transaction' => [
+ 'description' => 'The transaction details.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Hash' => ['description' => 'The transaction hash.', 'type' => 'string', 'example' => 'b3b0d2db83d3e670449d1e2a39d1d13b7e0e6080b0f9c6945f79eca68d1dd2ca', 'title' => ''],
+ 'Value' => ['description' => 'The transaction amount.', 'type' => 'string', 'example' => '0', 'title' => ''],
+ 'From' => ['description' => 'The hash of the transaction sender.', 'type' => 'string', 'example' => 'e7d3e769f3f593dadcb8634cc5b09fc90dd3a61c4a06a79cb0923662fe6fae6b', 'title' => ''],
+ 'Data' => ['description' => 'The data.', 'type' => 'string', 'example' => '""', 'title' => ''],
+ 'Nonce' => ['description' => 'The transaction nonce.', 'type' => 'string', 'example' => '5675407026657953619', 'title' => ''],
+ 'To' => ['description' => 'The address of the transaction recipient.', 'type' => 'string', 'example' => '961085f3c7ef705ad587d0cbe11d7863a5a11af7451f4e9b1edadd74402addf5', 'title' => ''],
+ 'Timestamp' => ['description' => 'The timestamp when the transaction was sent.', 'type' => 'integer', 'format' => 'int64', 'example' => '1563954336850', 'title' => ''],
+ 'Gas' => ['description' => 'The gas value.', 'type' => 'string', 'example' => '4000000', 'title' => ''],
+ 'TxType' => ['description' => 'The transaction type.', 'type' => 'string', 'example' => 'UNFREEZE_ACCOUNT_CONTRACT', 'title' => ''],
+ 'Period' => ['description' => 'Period', 'type' => 'integer', 'format' => 'int64', 'example' => '1563954336850', 'title' => ''],
+ 'Extentions' => [
+ 'type' => 'array',
+ 'items' => ['description' => 'The extension information.', 'type' => 'string', 'example' => '[]', 'title' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Signatures' => [
+ 'type' => 'array',
+ 'items' => ['description' => 'The signature.', 'type' => 'string', 'example' => '5s6JhauIqAlMb6d+7...', 'title' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => ' InstallFabricChaincodePackage',
- ],
- 'ApproveFabricChaincodeDefinition' => [
- 'summary' => 'ApproveFabricChaincodeDefinition',
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query ant blockchain transaction information',
+ 'summary' => 'Queries the transaction information of an Ant Blockchain transaction by transaction hash (applicable only to the Alibaba Cloud China Website (www.aliyun.com)).',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainTransactionV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- ],
- ],
- [
- 'name' => 'Location',
+ 'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '20', 'title' => ''],
],
[
- 'name' => 'ChaincodeId',
+ 'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'code-sacc-jbkuldd3i7ad',
- ],
+ 'schema' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'ChaincodePackageId',
+ 'name' => 'ConsortiumId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AroN3X2l', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => '',
'type' => 'object',
'properties' => [
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '52EC3196-D0B8-4FBE-A8B6-6DDABABE11C9', 'title' => ''],
'Result' => [
- 'description' => '',
- '$ref' => '#/components/schemas/ChaincodeVO',
+ 'description' => 'The request result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'IsExist' => ['description' => 'Indicates whether the resource exists.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'AntChains' => [
+ 'description' => 'The Ant Blockchain property descriptions.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ExpireTime' => ['description' => 'The expiration time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1626019200000', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1562847396000', 'title' => ''],
+ 'ChainType' => ['description' => 'The blockchain type. Valid values:'."\n"
+ .'- Contract: contract chain. No other types are available.', 'type' => 'string', 'example' => 'Contract', 'title' => ''],
+ 'MemberStatus' => ['description' => 'Indicates whether an on-chain access certificate has been requested.', 'type' => 'string', 'example' => 'ChainApplied', 'title' => ''],
+ 'MerkleTreeSuit' => ['description' => 'The Merkle tree type. Valid values:'."\n"
+ .'- fdmt: Ant Blockchain Merkle tree. No other types are available.', 'type' => 'string', 'example' => 'fdmt', 'title' => ''],
+ 'IsAdmin' => ['description' => 'Indicates whether the current user is an administrator.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'AntChainName' => ['description' => 'The blockchain name.', 'type' => 'string', 'example' => '一个测试的区块链', 'title' => ''],
+ 'RegionId' => ['description' => 'The region where the blockchain is created.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ 'Network' => ['description' => 'The running status. Valid values:'."\n"
+ .'- Running: running.'."\n"
+ .'- Stop: stopped.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'TlsAlgo' => ['description' => 'The TLS encryption algorithm. Valid values:'."\n"
+ .'- rsa: RSA algorithm. No other algorithm types are available.', 'type' => 'string', 'example' => 'rsa', 'title' => ''],
+ 'Version' => ['description' => 'The detailed blockchain version.', 'type' => 'string', 'example' => '2.19.1', 'title' => ''],
+ 'CipherSuit' => ['description' => 'The cipher suite type. Valid values:'."\n"
+ .'- classic: standard encryption. No other types are available.', 'type' => 'string', 'example' => 'classic', 'title' => ''],
+ 'ResourceSize' => ['description' => 'The resource type. Valid values:'."\n"
+ .'- Basic: Basic Edition.'."\n"
+ .'- Enterprise: Enterprise Edition.', 'type' => 'string', 'example' => 'Basic', 'title' => ''],
+ 'NodeNum' => ['description' => 'The number of nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''],
+ 'AntChainId' => ['description' => 'The Ant Blockchain ID.', 'type' => 'string', 'example' => 'pYogqb9v', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Pagination' => [
+ 'description' => 'The pagination information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
+ 'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'ApproveFabricChaincodeDefinition',
- ],
- 'UpgradeFabricChaincodeDefinition' => [
- 'summary' => 'UpgradeFabricChaincodeDefinition',
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'DescribeAntChains',
+ 'summary' => 'Retrieves the list of Ant Blockchains within a consortium.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChains',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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',
+ 'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '10', 'title' => ''],
],
[
- 'name' => 'ChaincodePackageId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860',
- ],
- ],
- [
- 'name' => 'EndorsePolicy',
+ 'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'OR ("perf9141MSP.member")',
- ],
+ 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '1', 'title' => ''],
],
[
- 'name' => 'Location',
+ 'name' => 'ConsortiumId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'M8GaMEyX', 'title' => ''],
],
- [
- 'name' => 'CollectionConfig',
- 'in' => 'formData',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DBD6C69E-22B9-419E-B072-7A715F3AA330', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ResultMessage' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Message' => ['description' => 'The request message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ResultCode' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Result' => [
+ 'description' => 'The request result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'IsExist' => ['description' => 'Indicates whether the resource exists.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'AntChains' => [
+ 'description' => 'The blockchain information.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ExpireTime' => ['description' => 'The expiration time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1672329600000', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1609221924000', 'title' => ''],
+ 'RestStatus' => ['description' => 'The REST status.', 'type' => 'string', 'example' => 'CREATE', 'title' => ''],
+ 'ChainType' => ['description' => 'The type of the blockchain.', 'type' => 'string', 'example' => 'Contract', 'title' => ''],
+ 'IsAdmin' => ['description' => 'Indicates whether the current user is an administrator.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'MerkleTreeSuit' => ['description' => 'The Merkle tree type.', 'type' => 'string', 'example' => 'fdmt', 'title' => ''],
+ 'MemberStatus' => ['description' => 'The member status.', 'type' => 'string', 'example' => 'ChainApplied', 'title' => ''],
+ 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'ALIYUN202012291405173265824745109', 'title' => ''],
+ 'RegionId' => ['description' => 'The region information.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ 'AntChainName' => ['description' => 'The name of the blockchain.', 'type' => 'string', 'example' => '专业链', 'title' => ''],
+ 'Network' => ['description' => 'The network information.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'MonitorStatus' => ['description' => 'The monitoring status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'TlsAlgo' => ['description' => 'The TLS encryption algorithm.', 'type' => 'string', 'example' => 'rsa', 'title' => ''],
+ 'Version' => ['description' => 'The detailed version.', 'type' => 'string', 'example' => '2.19.1', 'title' => ''],
+ 'CipherSuit' => ['description' => 'The cipher suite type.', 'type' => 'string', 'example' => 'classic', 'title' => ''],
+ 'ResourceSize' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'Basic', 'title' => ''],
+ 'NodeNum' => ['description' => 'The number of nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''],
+ 'AntChainId' => ['description' => 'The blockchain ID.', 'type' => 'string', 'example' => '8bd720bde18c4b37b0f4a1c7834db163', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Pagination' => [
+ 'description' => 'The pagination information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'collectionconfig',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve the list of ant blockchains within a consortium',
+ 'summary' => 'Retrieves the list of Ant Blockchains within a consortium (applicable only to the Alibaba Cloud China Website).',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-20T05:47:56.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'ChaincodeId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- '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' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ ],
+ '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' => 'The Ethereum ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eth-1ilrhcav4ibdl', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => '',
'type' => 'object',
'properties' => [
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1E55C947-19B4-4AAD-9D22-0B8DA8904B3D',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The request result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'EthereumId' => ['description' => 'The Ethereum ID.', 'type' => 'string', 'example' => 'eth-1ilrhcav4ibdl', 'title' => ''],
+ 'Deletable' => ['description' => 'Indicates whether the Ethereum instance is deletable.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ ],
+ 'title' => '',
'example' => '',
- '$ref' => '#/components/schemas/ChaincodeVO',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'Check whether an ethereum instance is deletable',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeEthereumDeletable',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => 'UpgradeFabricChaincodeDefinition',
- ],
- 'DescribeFabricOrganizationChaincodePackage' => [
- 'summary' => 'DescribeFabricOrganizationChaincodePackage',
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'summary' => '',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- ],
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -8961,53 +6323,64 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The result.',
'type' => 'array',
'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ServiceState' => ['description' => 'The service status.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'OrganizationName' => ['description' => 'The organization name.', 'type' => 'string', 'example' => 'org1', 'title' => ''],
+ 'ClusterState' => ['description' => 'The cluster status.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'example' => 'peers-1oxw31d04****', 'title' => ''],
+ ],
'description' => '',
- '$ref' => '#/components/schemas/ChaincodePackage',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricOrganizationChaincodePackage',
- ],
- 'DescribeFabricChaincodeDefinitionTask' => [
- 'summary' => 'DescribeFabricChaincodeDefinitionTask',
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query candidate organizations for accepting invitations',
+ 'summary' => 'Queries the candidate organizations that can accept invitations by calling DescribeFabricCandidateOrganizations.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricCandidateOrganizations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ 'DescribeFabricChaincodeDefinitionTask' => [
+ 'summary' => 'Retrieves the list of 2.0 chaincode tasks.',
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9015,259 +6388,118 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'OrganizationId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- ],
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', 'title' => ''],
],
[
'name' => 'ChaincodeId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'code-sacc-jbkuldd3i7ad',
- ],
+ 'schema' => ['description' => 'The chaincode ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'code-sacc-jbkuldd3i7ad', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => '',
+ 'description' => 'The result.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The result.',
'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' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Creator' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'perf9141MSP',
- ],
+ 'Status' => ['description' => 'The task status.', 'type' => 'string', 'example' => 'Pending', 'title' => ''],
+ 'Type' => ['description' => 'The task type.', 'type' => 'string', 'example' => 'ChaincodeDefinition', 'title' => ''],
+ 'ChannelName' => ['description' => 'The channel name.', 'type' => 'string', 'example' => 'f100', 'title' => ''],
+ 'Description' => ['description' => 'The task description.', 'type' => 'string', 'example' => 'description', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1533025590', 'title' => ''],
+ 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Creator' => ['description' => 'The task creator.', 'type' => 'string', 'example' => 'perf9141MSP', 'title' => ''],
'Approvers' => [
- 'description' => '',
+ 'description' => 'The list of task approval information.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'perf9141MSP',
- ],
+ 'items' => ['description' => 'The approver.', 'type' => 'string', 'example' => 'perf9141MSP', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
'Content' => [
- 'description' => '',
+ 'description' => 'The task content.',
'type' => 'object',
'properties' => [
'ChaincodeDefinition' => [
- 'description' => '',
+ 'description' => 'The chaincode definition.',
'type' => 'object',
'properties' => [
- 'EndorsementPolicy' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OR ("perf9141MSP.member")',
- ],
- 'Sequence' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Version' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1.1',
- ],
- 'ChaincodePackageId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860',
- ],
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'sacc',
- ],
- 'InitRequired' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CollectionConfig' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'collectionconfig',
- ],
- 'Uid' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860',
- ],
- ],
+ 'EndorsementPolicy' => ['description' => 'The endorsement policy.', 'type' => 'string', 'example' => 'OR ("perf9141MSP.member")', 'title' => ''],
+ 'Sequence' => ['description' => 'The sequence ID of the same chaincode task.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'Version' => ['description' => 'The chaincode version.', 'type' => 'string', 'example' => '1.1', 'title' => ''],
+ 'ChaincodePackageId' => ['description' => 'The chaincode package ID.', 'type' => 'string', 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860', 'title' => ''],
+ 'Name' => ['description' => 'The chaincode name.', 'type' => 'string', 'example' => 'sacc', 'title' => ''],
+ 'InitRequired' => ['description' => 'Indicates whether initialization is required.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'CollectionConfig' => ['description' => 'The chaincode collection configuration.', 'type' => 'string', 'example' => 'collectionconfig', 'title' => ''],
+ 'Uid' => ['description' => 'The unique identifier of the chaincode.', 'type' => 'string', 'example' => '698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
'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' => 'DescribeFabricChaincodeDefinitionTask',
- ],
- 'CreateFabricChaincode' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'title' => 'Retrieve chaincode task list',
+ 'changeSet' => [
+ ['createdAt' => '2022-02-28T10:34:55.000Z', 'description' => 'OpenAPI offline'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeChaincodeDefinitionTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa1-1oxw31d046jtl',
- ],
- ],
- [
- 'name' => 'ChannelId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'chan-first-channel-1w55v3u39x2xz',
- ],
- ],
- [
- 'name' => 'ConsortiumId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'consortium-aaaaaa-akpcsjjac2jd',
- ],
- ],
- [
- 'name' => 'OssBucket',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'https://chaincode.oss-cn-beijing.aliyuncs.com',
- ],
- ],
- [
- 'name' => 'OssUrl',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'aaaaaa1/a0cf8729-7d47-44c9-9ed5-6d2fdfc8dc2c/sacc.cc',
- ],
- ],
- [
- 'name' => 'EndorsePolicy',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OR (\'aaaaaa1MSP.peer\')',
- ],
- ],
- [
- 'name' => 'Location',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa1-1oxw31d04****', 'title' => ''],
],
],
'responses' => [
@@ -9275,183 +6507,70 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'CD264CC8-B892-4CDC-BD31-7D179EE6E396',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The result.',
'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' => '1544766801000',
- ],
- 'ChaincodeId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'peers-aaaaaa1-1oxw31d046jtl',
- ],
- 'DeployTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1544766801000',
- ],
- 'ChaincodeVersion' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1.0',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- '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' => 'The OSS signature.', 'type' => 'string', 'example' => 'signature', 'title' => ''],
+ 'Host' => ['description' => 'The OSS domain name.', 'type' => 'string', 'example' => 'https://chaincode.oss-cn-beijing.aliyuncs.com', 'title' => ''],
+ 'Policy' => ['description' => 'The OSS security policy.', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMjAxOC0wNy0zMVQwODoyNjozMC40NzdaIiwiY29uZGl', 'title' => ''],
+ 'Dir' => ['description' => 'The upload directory.', 'type' => 'string', 'example' => 'test3/4bd1de21-2fff-4405-a8e9-f864c4bee24f', 'title' => ''],
+ 'AccessId' => ['description' => 'The ID used to access OSS.', 'type' => 'string', 'example' => 'accessId', 'title' => ''],
+ 'Expire' => ['description' => 'The expiration time.', 'type' => 'integer', 'format' => 'int32', 'example' => '1533025590', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'CreateFabricChaincode',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve upload chaincode policy',
+ 'summary' => 'Calls DescribeFabricChaincodeUploadPolicy to retrieve the upload chaincode policy.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateFabricChannelMember' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricChaincodeUploadPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ 'DescribeFabricChannelMembers' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'peers-aaaaaa1-1oxw31d046jtl',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- 'maxItems' => 1000,
- ],
+ 'schema' => ['description' => 'The channel ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chan-channelx-1l1hmckuu****', 'title' => ''],
],
],
'responses' => [
@@ -9459,102 +6578,79 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
+ 'description' => 'The member list of the channel.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'WithPeer' => ['description' => 'Indicates whether the member includes peer nodes.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'AcceptTime' => ['description' => 'The time when the invitation was accepted.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'OrganizationDomain' => ['description' => 'The domain name of the organization.', 'type' => 'string', 'example' => 'hello', 'title' => ''],
+ 'State' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'InviteTime' => ['description' => 'The time when the invitation was sent.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'ChannelId' => ['description' => 'The channel ID.', 'type' => 'string', 'example' => 'chan-channelx-1l1hmckuuisxo', 'title' => ''],
+ 'OrganizationName' => ['description' => 'The organization name.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'OrganizationDescription' => ['description' => 'The organization description.', 'type' => 'string', 'example' => 'description', 'title' => ''],
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'example' => 'peers-aaaaaa1-1oxw31d046jtl', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query channel members',
+ 'summary' => 'Queries the member list of a channel by calling DescribeFabricChannelMembers.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateFabricConsortiumMember' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricChannelMembers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'peers-aaaaaa1-1oxw31d046jtl',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- 'maxItems' => 1000,
- ],
+ 'name' => 'Location',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -9562,134 +6658,77 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
+ 'description' => 'The consortium management status information.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', 'title' => ''],
+ 'ConsortiumAdministrator' => ['description' => 'Indicates whether the current user is the consortium administrator.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve consortium management status information',
+ 'summary' => 'Calls DescribeFabricConsortiumAdminStatus to retrieve the consortium management status information.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateFabricChannel' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumAdminStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'consortium-aaaaaa-akpcsjjac2jd',
- ],
- ],
- [
- 'name' => 'ChannelName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- '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' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', 'title' => ''],
],
[
- 'name' => 'PreferredMaxBytes',
+ 'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '12',
- ],
- ],
- [
- 'name' => 'Organization',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'peers-aaaaaa1-1oxw31d046jtl',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- 'maxItems' => 1000,
- ],
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -9697,558 +6736,263 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'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' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1234',
- ],
- 'OwnerBid' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '26842',
- ],
- 'MaxMessageCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'MemberCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'consortium-aaaaaa-akpcsjjac2jd',
- ],
- 'ChannelName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'channelx',
- ],
- 'SupportConfig' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ChannelId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'chan-channelx-1l1hmckuuisxo',
- ],
- 'ConsortiumName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'aaaaaa',
- ],
- 'BlockCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
+ 'description' => 'The chaincode list of the consortium.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The type.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'EndorsePolicy' => ['description' => 'The endorsement policy.', 'type' => 'string', 'example' => 'OR (\'aaaaaa1MSP.peer\')', 'title' => ''],
+ 'State' => ['description' => 'The state.', 'type' => 'string', 'example' => 'Instantiatable', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'ChaincodeId' => ['description' => 'The chaincode ID.', 'type' => 'string', 'example' => 'code-sacc-1pr09q7jmo0np', 'title' => ''],
+ 'ProviderName' => ['description' => 'The name of the chaincode uploader.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => 'ok', 'title' => ''],
+ 'ChaincodeName' => ['description' => 'The chaincode name.', 'type' => 'string', 'example' => 'sacc', 'title' => ''],
+ 'Install' => ['description' => 'Indicates whether the chaincode is installed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Input' => ['description' => 'The chaincode input.', 'type' => 'string', 'example' => 'input', 'title' => ''],
+ 'ProviderId' => ['description' => 'The ID of the chaincode uploader.', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', 'title' => ''],
+ 'DeployTime' => ['description' => 'The deployment time.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'ChaincodeVersion' => ['description' => 'The chaincode version.', 'type' => 'string', 'example' => '1.0', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', 'title' => ''],
+ 'ChannelName' => ['description' => 'The channel name.', 'type' => 'string', 'example' => 'cname', 'title' => ''],
+ 'ChannelId' => ['description' => 'The channel ID.', 'type' => 'string', 'example' => 'chan-channelx-1l1hmckuuisxo', 'title' => ''],
+ 'Path' => ['description' => 'The chaincode path.', 'type' => 'string', 'example' => 'go-sdk-demo/chaincode/src', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve the chaincode list of a consortium',
+ 'summary' => 'Calls DescribeFabricConsortiumChaincodes to retrieve the chaincode list of a consortium.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateFabricConsortium' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumChaincodes',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'OrdererType',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'basic',
- ],
- ],
- [
- 'name' => 'OrderersCount',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'name' => 'ConsortiumId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', 'title' => ''],
],
[
- 'name' => 'PeersCount',
+ 'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
- [
- 'name' => 'PaymentDurationUnit',
- 'in' => 'formData',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'BatchTimeout' => ['description' => 'The batch timeout period.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'UpdateTime' => ['description' => 'The update time.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'ChaincodeCount' => ['description' => 'The number of chaincodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'PreferredMaxBytes' => ['description' => 'The preferred maximum number of bytes.', 'type' => 'integer', 'format' => 'int32', 'example' => '102410241', 'title' => ''],
+ 'MemberJoinedCount' => ['description' => 'The number of members that have joined the consortium.', 'type' => 'string', 'example' => '3', 'title' => ''],
+ 'State' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'SupportChannelConfig' => ['description' => 'Indicates whether custom configuration parameters are supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'OwnerName' => ['description' => 'The name of the creator.', 'type' => 'string', 'example' => 'uid-*', 'title' => ''],
+ 'OwnerUid' => ['description' => 'The UID of the creator.', 'type' => 'integer', 'format' => 'int64', 'example' => '212', 'title' => ''],
+ 'OwnerBid' => ['description' => 'The BID of the creator.', 'type' => 'string', 'example' => '26842', 'title' => ''],
+ 'MaxMessageCount' => ['description' => 'The maximum number of message entries that a block can contain.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'MemberCount' => ['description' => 'The number of channel members.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
+ 'NeedJoined' => ['description' => 'Indicates whether joining is required.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', 'title' => ''],
+ 'ChannelName' => ['description' => 'The channel name.', 'type' => 'string', 'example' => 'mychammel', 'title' => ''],
+ 'DeleteTime' => ['description' => 'The deletion time.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'ChannelId' => ['description' => 'The channel ID.', 'type' => 'string', 'example' => 'chan-channelx-1l1hmckuuisxo', 'title' => ''],
+ 'ConsortiumChannelId' => ['description' => 'The sequence number of the channel in the consortium.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Deleted' => ['description' => 'Indicates whether the channel is deleted.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ConsortiumName' => ['description' => 'The consortium name.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'BlockCount' => ['description' => 'The number of blocks.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'month',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve consortium channel list',
+ 'summary' => 'Calls DescribeFabricConsortiumChannels to retrieve the list of channels in a consortium.',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
+ ],
+ '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' => 'All Resource', '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' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The valid parameter values for creating a consortium.',
'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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ServiceState' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Pending',
- ],
- 'ClusterState' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Pending',
- ],
- 'OwnerUid' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1019556',
- ],
- 'OwnerBid' => [
- 'description' => '',
- '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' => [
+ 'type' => 'array',
+ 'items' => ['description' => 'The channel creation policy.', 'type' => 'string', 'example' => '[ "Any" ]', 'title' => ''],
'description' => '',
- 'type' => 'string',
- 'example' => 'Any',
+ 'title' => '',
+ 'example' => '',
],
'OrdererType' => [
+ 'type' => 'array',
+ 'items' => ['description' => 'The orderer type.', 'type' => 'string', 'example' => '[ "Solo", "Kafka", "etcdraft"]', 'title' => ''],
'description' => '',
- 'type' => 'string',
- 'example' => 'Kafka',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'string',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7',
- ],
- 'ZoneId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'ConsortiumName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'myconsortium',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve valid parameter values for creating a consortium',
+ 'summary' => 'Calls DescribeFabricConsortiumConfig to retrieve the valid parameter values for creating a consortium.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateFabricOrganization' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', 'title' => ''],
],
[
'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' => '',
- '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' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -10256,195 +7000,77 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The result.',
'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' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'zuzhiyumingyi-hc5d1bwlulg7',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'Indicates whether the consortium can be deleted.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'domain', 'title' => ''],
+ 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'description', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', 'title' => ''],
+ 'State' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'ZoneId' => ['description' => 'The zone.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ 'CodeName' => ['description' => 'The domain name prefix.', 'type' => 'string', 'example' => 'codename', 'title' => ''],
+ 'ConsortiumName' => ['description' => 'The consortium name.', 'type' => 'string', 'example' => 'myconsortium', 'title' => ''],
+ 'RegionId' => ['description' => 'The region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'CreateFabricOrganization',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'CreateFabricOrganizationUser' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query whether a consortium can be deleted',
+ 'summary' => 'Queries whether a consortium can be deleted by calling DescribeFabricConsortiumDeletable.',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumDeletable',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- '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' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', 'title' => ''],
],
[
- 'name' => 'Attrs',
+ 'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'foo=foo1,bar=bar1',
- ],
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -10452,99 +7078,80 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'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' => '',
- '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' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', 'title' => ''],
+ 'State' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'ChannelCreatePolicy' => ['description' => 'The channel creation policy.', 'type' => 'string', 'example' => 'Any', 'title' => ''],
+ 'ConfirmTime' => ['description' => 'The confirmation time.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'OrganizationName' => ['description' => 'The organization name.', 'type' => 'string', 'example' => 'orgname', 'title' => ''],
+ 'ConsortiumName' => ['description' => 'The consortium name.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'DomainName' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'domain', 'title' => ''],
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w****', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'CreateFabricOrganizationUser',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DeleteFabricChaincode' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query approval status list of consortium members',
+ 'summary' => 'Queries the approval status list of consortium members by calling DescribeFabricConsortiumMemberApproval.',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumMemberApproval',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'code-sacc-1pr09q7jm****',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', 'title' => ''],
+ ],
+ [
+ 'name' => 'Location',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -10552,82 +7159,81 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Result' => [
+ 'description' => 'The organization information of the consortium.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'domain', 'title' => ''],
+ 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'description', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', 'title' => ''],
+ 'OrganizationName' => ['description' => 'The organization name.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'JoinedTime' => ['description' => 'The time when the organization joined the consortium.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DeleteFabricChaincode',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve organization information of a consortium',
+ 'summary' => 'Calls DescribeFabricConsortiumMembers to retrieve the organization information of a consortium.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'JoinFabricChannel' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumMembers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ 'DescribeFabricConsortiumOrderers' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'ChannelId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- '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' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-aaaaaa-akpcsjjac2jd ', 'title' => ''],
],
[
'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The location of the instance. The value is the same as RegionId.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -10635,223 +7241,174 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The list of orderers in the consortium.',
'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' => '',
- 'type' => 'string',
- 'example' => 'channelid',
- ],
- 'ConfirmTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1533025590',
- ],
- 'ApproveTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1533025590',
- ],
- 'OrganizationId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- ],
+ 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'domain', 'title' => ''],
+ 'UpdateTime' => ['description' => 'The update time.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'OrdererName' => ['description' => 'The orderer name.', 'type' => 'string', 'example' => 'order1', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'Port' => ['description' => 'The port.', 'type' => 'integer', 'format' => 'int32', 'example' => '7050', 'title' => ''],
+ 'InstanceType' => ['description' => 'The instance type.', 'type' => 'string', 'example' => 'ecs.n1.small', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'JoinFabricChannel',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve the orderer list of a consortium',
+ 'summary' => 'Calls DescribeFabricConsortiumOrderers to retrieve the list of orderers in a consortium.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeFabricOrdererLogs' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumOrderers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'parameters' => [
- [
- 'name' => 'ConsortiumId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'consortium-test-iyuso3g773ki',
- ],
- ],
- [
- 'name' => 'OrdererName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'orderer1',
- ],
- ],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'example' => '508EA949-6349-4C86-B8E7-1D90669382B1',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'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' => 'The specification list of the consortium.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SpecName' => ['description' => 'The specification name.', 'type' => 'string', 'example' => 'basic', 'title' => ''],
+ 'SpecTitle' => ['description' => 'The specification title.', 'type' => 'string', 'example' => '基础版', 'title' => ''],
+ 'Enable' => ['description' => 'Indicates whether the specification is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricOrdererLogs',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query consortium specifications',
+ 'summary' => 'Queries the specification list of a consortium by calling DescribeFabricConsortiumSpecs.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeFabricPeerLogs' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumSpecs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-test11-tzwny25vqicq',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => false, 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', 'title' => ''],
],
[
- 'name' => 'PeerName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peer1',
- ],
+ 'name' => 'Location',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Lines',
+ 'name' => 'Tag',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'The list of tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => true, 'example' => 'key1', 'title' => ''],
+ 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value1', 'title' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => false,
- 'example' => '50',
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -10860,98 +7417,105 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '78A09CAF-4944-4CAE-B25D-F5B6BA27D9F5',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
+ 'description' => 'The list of consortiums.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ChannelCount' => ['description' => 'The number of channels.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'domain', 'title' => ''],
+ 'State' => ['description' => 'The status. Valid values:'."\n"
+ ."\n"
+ .'- Pending: pending creation.'."\n"
+ .'- Initial: being created.'."\n"
+ .'- Aborted: creation failed.'."\n"
+ .'- Created: created.'."\n"
+ .'- Purging: being released.'."\n"
+ .'- Damaged: release failed.'."\n"
+ .'- Deleted: released.'."\n"
+ .'- SpecChangPending: pending specification change.'."\n"
+ .'- SpecChanging: specification change in progress.'."\n"
+ .'- Inactive: suspended.'."\n"
+ .'- ServiceNotActivated: cloud service integration is not activated.', 'type' => 'string', 'example' => 'Pending', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'SpecName' => ['description' => 'The node specifications of the consortium.', 'type' => 'string', 'example' => 'basic', 'title' => ''],
+ 'SupportChannelConfig' => ['description' => 'Indicates whether custom configuration parameters are supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'OwnerName' => ['description' => 'The creator.', 'type' => 'string', 'example' => 'uid-125566', 'title' => ''],
+ 'OwnerUid' => ['description' => 'The user ID of the creator.', 'type' => 'integer', 'format' => 'int64', 'example' => '12042815', 'title' => ''],
+ 'OwnerBid' => ['description' => 'The business ID of the creator.', 'type' => 'string', 'example' => '26842', 'title' => ''],
+ 'CodeName' => ['description' => 'The domain name prefix.', 'type' => 'string', 'example' => 'code', 'title' => ''],
+ 'RegionId' => ['description' => 'The region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ 'ChannelPolicy' => ['description' => 'The channel creation policy.', 'type' => 'string', 'example' => 'Any', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '3A929FAC-A82D-4EAB-A0FF-D867426D8B23', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', 'title' => ''],
+ 'ExpiredTime' => ['description' => 'The billing expiration time.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'OrganizationCount' => ['description' => 'The number of organizations.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'ConsortiumName' => ['description' => 'The consortium name.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'MajorVersion' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'Tags' => [
+ 'description' => 'The list of tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'app', 'title' => ''],
+ 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'nat_internet', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricPeerLogs',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'DescribeFabricConsortiums',
+ 'summary' => 'Calls DescribeFabricConsortiums to retrieve the list of consortiums.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeRootDomain' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2023-03-23T09:30:52.000Z', 'description' => 'Response parameters changed, Error codes changed'],
],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
- ],
- ],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => 'All Resource', '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' => 'DescribeRootDomain',
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
],
'DescribeFabricExplorer' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10959,53 +7523,27 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'OrganizationId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-test11-tzwny25vqicq',
- ],
+ 'schema' => ['description' => 'Organization ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-test11-tzwny25vqicq', 'title' => ''],
],
[
'name' => 'ExMethod',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'GET',
- ],
+ 'schema' => ['description' => 'Request method', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'GET', 'title' => ''],
],
[
'name' => 'ExUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '/api/v1/channel',
- ],
+ 'schema' => ['description' => 'Request URL', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '/api/v1/channel', 'title' => ''],
],
[
'name' => 'ExBody',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => 'Request body (Note: reserved for future use)', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '{}', 'title' => ''],
],
],
'responses' => [
@@ -11013,333 +7551,136 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '19E91C1D-9BD0-468F-A7DA-915263C6689F',
- ],
- 'Result' => [
- 'description' => '',
- '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' => 'Request ID', 'type' => 'string', 'example' => '19E91C1D-9BD0-468F-A7DA-915263C6689F', 'title' => ''],
+ 'Result' => ['description' => 'Returns a string that can be converted to JSON', 'type' => 'string', 'example' => '{}', 'title' => ''],
+ 'Success' => ['description' => 'Return status', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'Return code', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'DynamicMessage' => ['description' => 'Error message', 'type' => 'string', 'example' => 'An error in the monitoring service has occurred.', 'title' => ''],
+ 'DynamicCode' => ['description' => 'Error code', 'type' => 'string', 'example' => 'ExplorerException', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"19E91C1D-9BD0-468F-A7DA-915263C6689F\\",\\n \\"Result\\": \\"{}\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"DynamicMessage\\": \\"An error in the monitoring service has occurred.\\",\\n \\"DynamicCode\\": \\"ExplorerException\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricExplorerResponse>\\r\\n <RequestId>AB2560A0-EF98-462D-B9BA-D422206B94B3</RequestId>\\r\\n <ErrorCode>200</ErrorCode>\\r\\n <Success>true</Success>\\r\\n <Result>{}</Result>\\r\\n</DescribeFabricExplorerResponse>","errorExample":""}]',
- 'title' => 'DescribeFabricExplorer',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"19E91C1D-9BD0-468F-A7DA-915263C6689F\\",\\n \\"Result\\": \\"{}\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"DynamicMessage\\": \\"An error in the monitoring service has occurred.\\",\\n \\"DynamicCode\\": \\"ExplorerException\\"\\n}","type":"json"}]',
+ 'title' => 'Browse Fabric ledger information',
+ 'summary' => 'Browse information related to the Fabric ledger.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeFabricConsortiumConfig' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
- ],
- ],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => '[ "Solo", "Kafka", "etcdraft"]',
- ],
- ],
- ],
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricExplorer',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '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' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', 'title' => ''],
+ ],
],
- 'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'DynamicMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The invitation code could not found.', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '77E25463-56CB-4F1C-8EB6-8ADDFE39EF0F', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'DynamicCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvitationCodeNotFound', 'title' => ''],
'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' => 'The result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'SenderId' => ['description' => 'The sender ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '26345345', 'title' => ''],
+ 'Email' => ['description' => 'The email address.', 'type' => 'string', 'example' => 'abc@126.com', 'title' => ''],
+ 'SenderBid' => ['description' => 'The sender BID.', 'type' => 'string', 'example' => '27534', 'title' => ''],
+ 'ExpireTime' => ['description' => 'The expiration time.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', 'title' => ''],
+ 'InvitationId' => ['description' => 'The invitation ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'SenderName' => ['description' => 'The sender name.', 'type' => 'string', 'example' => 'uid-35324', 'title' => ''],
+ 'Code' => ['description' => 'The invitation code.', 'type' => 'string', 'example' => 'code', 'title' => ''],
+ 'Url' => ['description' => 'The invitation link.', 'type' => 'string', 'example' => 'http://baas.console.aliyun.test/invite?code=92e7ef1934892', 'title' => ''],
+ 'Accepted' => ['description' => 'Indicates whether the invitation is accepted.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'SendTime' => ['description' => 'The time when the invitation was sent.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricConsortiumSpecs',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeFabricConsortiumOrderers' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve invitation link',
+ 'summary' => 'Calls DescribeFabricInvitationCode to retrieve the invitation link.',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'systemTags' => [
- 'operationType' => 'get',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'parameters' => [
- [
- 'name' => 'ConsortiumId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'consortium-aaaaaa-akpcsjjac2jd ',
- ],
- ],
+ 'ramActions' => [
[
- 'name' => 'Location',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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',
- ],
- 'UpdateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1544411108000',
- ],
- 'OrdererName' => [
- 'description' => '',
- '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' => 'All Resource', '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' => 'DescribeFabricConsortiumOrderers',
- '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' => 'The invitation code.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '200', 'title' => ''],
],
],
'responses' => [
@@ -11347,93 +7688,79 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'C445762C-8909-4BD8-A2BD-BB45BF2441D8',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C445762C-8909-4BD8-A2BD-BB45BF2441D8', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The inviter information list.',
'type' => 'object',
'properties' => [
- 'InviterId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3524234',
- ],
- 'ExpireTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1544411108000',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****',
- ],
- 'ConsortiumName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'name',
- ],
- 'InviterName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'name',
- ],
+ 'InviterId' => ['description' => 'The inviter ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '3524234', 'title' => ''],
+ 'ExpireTime' => ['description' => 'The expiration time.', 'type' => 'string', 'example' => '1544411108000', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', 'title' => ''],
+ 'ConsortiumName' => ['description' => 'The consortium name.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'InviterName' => ['description' => 'The inviter name.', 'type' => 'string', 'example' => 'name', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C445762C-8909-4BD8-A2BD-BB45BF2441D8\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"InviterId\\": 3524234,\\n \\"ExpireTime\\": \\"1544411108000\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwl****\\",\\n \\"ConsortiumName\\": \\"name\\",\\n \\"InviterName\\": \\"name\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeFabricInviterResponse>\\r\\n\\t<Result>\\r\\n\\t\\t<ConsortiumId>10000</ConsortiumId>\\r\\n\\t\\t<ExpireTime>1544411108000</ExpireTime>\\r\\n\\t\\t<InviterId>35242340</InviterId>\\r\\n\\t\\t<ConsortiumName>quickstart</ConsortiumName>\\r\\n\\t\\t<InviterName>name</InviterName>\\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</DescribeFabricInviterResponse>","errorExample":""}]',
- 'title' => 'DescribeFabricInviter',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C445762C-8909-4BD8-A2BD-BB45BF2441D8\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": {\\n \\"InviterId\\": 3524234,\\n \\"ExpireTime\\": \\"1544411108000\\",\\n \\"ConsortiumId\\": \\"consortium-lianmenyumingyi-hc5d1bwl****\\",\\n \\"ConsortiumName\\": \\"name\\",\\n \\"InviterName\\": \\"name\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'Retrieve inviter information',
+ 'summary' => 'Calls DescribeFabricInviter to retrieve inviter information.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeFabricChannelMembers' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricInviter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'chan-channelx-1l1hmckuu****',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'consortium-test-iyuso3g7****', 'title' => ''],
+ ],
+ [
+ 'name' => 'OrdererName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The orderer name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'orderer1', 'title' => ''],
+ ],
+ [
+ 'name' => 'Lines',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of lines to display.', 'type' => 'string', 'required' => false, 'example' => '50', 'title' => ''],
],
],
'responses' => [
@@ -11441,96 +7768,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'chan-channelx-1l1hmckuuisxo',
- ],
- 'OrganizationName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'name',
- ],
- 'OrganizationDescription' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'description',
- ],
- 'OrganizationId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'peers-aaaaaa1-1oxw31d046jtl',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '508EA949-6349-4C86-B8E7-1D90669382B1', 'title' => ''],
+ 'Result' => ['description' => 'The result.', 'type' => 'string', 'example' => 'Kafka.Retry.Producer.RetryMax=3', 'title' => ''],
+ 'Success' => ['description' => 'The result status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricChannelMembers',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeFabricOrganizations' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"508EA949-6349-4C86-B8E7-1D90669382B1\\",\\n \\"Result\\": \\"Kafka.Retry.Producer.RetryMax=3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'Retrieve orderer node log information',
+ 'summary' => 'Calls DescribeFabricOrdererLogs to retrieve the log information of an orderer node.',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrdererLogs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeFabricOrganization' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11538,47 +7812,40 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
+ 'name' => 'OrganizationId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****', 'title' => ''],
+ ],
+ [
'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => '',
+ 'description' => 'The list of labels.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'key1',
- ],
- 'Value' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value1',
- ],
+ 'Key' => ['description' => 'The label key.', 'type' => 'string', 'required' => true, 'example' => 'key1', 'title' => ''],
+ 'Value' => ['description' => 'The label value.', 'type' => 'string', 'required' => false, 'example' => 'value1', 'title' => ''],
],
'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -11587,180 +7854,103 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'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' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1232',
- ],
- 'OwnerBid' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'The details of the organization.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'org1.alibabacloudbaas.com', 'title' => ''],
+ 'PeerCount' => ['description' => 'The number of peer nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'State' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'ConsortiumCount' => ['description' => 'The number of consortiums.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'SpecName' => ['description' => 'The specification name.', 'type' => 'string', 'example' => 'basic', 'title' => ''],
+ 'OwnerName' => ['description' => 'The creator.', 'type' => 'string', 'example' => 'uid-23434', 'title' => ''],
+ 'OwnerUid' => ['description' => 'The UID of the creator.', 'type' => 'integer', 'format' => 'int64', 'example' => '23434', 'title' => ''],
+ 'OwnerBid' => ['description' => 'The BID of the creator.', 'type' => 'string', 'example' => '2544', 'title' => ''],
+ 'CodeName' => ['description' => 'The domain name prefix.', 'type' => 'string', 'example' => 'org1', 'title' => ''],
+ 'OrganizationDescription' => ['description' => 'The description of the organization.', 'type' => 'string', 'example' => 'This is org1', 'title' => ''],
+ 'RegionId' => ['description' => 'The region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', 'title' => ''],
+ 'MSP' => ['description' => 'The Membership Service Provider.', 'type' => 'string', 'example' => 'org1MSP', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'CAUrl' => ['description' => 'The URL of the organization CA node.', 'type' => 'string', 'example' => 'https://ca1.org1.alibabacloudbaas.com:31154', 'title' => ''],
+ 'CANAME' => ['description' => 'The name of the organization CA node.', 'type' => 'string', 'example' => 'client', 'title' => ''],
+ 'ZoneId' => ['description' => 'The zone.', 'type' => 'string', 'example' => 'cn-hangzhou-1a', 'title' => ''],
+ 'UserCount' => ['description' => 'The number of users.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'OrganizationName' => ['description' => 'The organization name.', 'type' => 'string', 'example' => 'org1', 'title' => ''],
+ 'Tags' => [
+ 'description' => 'The list of labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The label key.', 'type' => 'string', 'example' => 'BlockChainOwner', 'title' => ''],
+ 'Value' => ['description' => 'The label value.', 'type' => 'string', 'example' => 'DepartmentA', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'DescribeFabricOrganization',
+ 'summary' => 'Calls DescribeFabricOrganization to retrieve the details of an organization.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeFabricCandidateOrganizations' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:05.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganization',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeFabricOrganizationChaincodePackage' => [
+ 'summary' => 'Get chaincode package information (version 2.0) within the organization.',
+ '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' => 'Organization ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', 'title' => ''],
],
],
'responses' => [
@@ -11768,92 +7958,66 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Message' => ['description' => 'Message', 'type' => 'string', 'example' => 'ok', 'title' => ''],
+ 'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request is successful', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'Error code', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'Result',
'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' => '',
- 'type' => 'string',
- 'example' => 'peers-1oxw31d04****',
- ],
- ],
- ],
+ 'items' => ['description' => 'Chaincode package information', '$ref' => '#/components/schemas/ChaincodePackage', 'title' => '', 'example' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricCandidateOrganizations',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeFabricChaincodeUploadPolicy' => [
- '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 {\\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}","type":"json"}]',
+ 'title' => 'Get Chaincode Package Information Within the Organization',
+ 'changeSet' => [
+ ['createdAt' => '2022-02-28T10:34:55.000Z', 'description' => 'OpenAPI offline'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationChaincodePackage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa1-1oxw31d04****',
- ],
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****', 'title' => ''],
+ ],
+ [
+ 'name' => 'Location',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The location information.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -11861,109 +8025,97 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Signature' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'signature',
- ],
- 'Host' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://chaincode.oss-cn-beijing.aliyuncs.com',
- ],
- 'Policy' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'eyJleHBpcmF0aW9uIjoiMjAxOC0wNy0zMVQwODoyNjozMC40NzdaIiwiY29uZGl',
- ],
- 'Dir' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'test3/4bd1de21-2fff-4405-a8e9-f864c4bee24f',
- ],
- 'AccessId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'accessId',
- ],
- 'Expire' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1533025590',
- ],
+ 'description' => 'The chaincode list of the organization.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The result data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'EndorsePolicy' => ['description' => 'The endorsement policy.', 'type' => 'string', 'example' => 'OR (&#39;perf9141MSP.member&#39;)', 'title' => ''],
+ 'State' => ['description' => 'The state. Valid values:'."\n"
+ ."\n"
+ .'- **CHECKING**'."\n"
+ .'- **ERROR**'."\n"
+ .'- **INSTALLABLE**'."\n"
+ .'- **INSTALLED**'."\n"
+ .'- **RUNNING**'."\n"
+ .'- **UPGRADABLE**.', 'type' => 'string', 'example' => 'RUNNING', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'ChaincodeId' => ['description' => 'The chaincode ID.', 'type' => 'string', 'example' => 'code-sacc-1pr09q7jmo0np', 'title' => ''],
+ 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ChaincodeName' => ['description' => 'The chaincode name.', 'type' => 'string', 'example' => 'mycc', 'title' => ''],
+ 'Installed' => ['description' => 'Indicates whether the chaincode is installed.', 'type' => 'string', 'example' => 'Installed', 'title' => ''],
+ 'Creator' => ['description' => 'The creator.', 'type' => 'string', 'example' => 'uid-23425', 'title' => ''],
+ 'DeployTime' => ['description' => 'The deployment time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'ChaincodeVersion' => ['description' => 'The chaincode version.', 'type' => 'string', 'example' => '0.3', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', 'title' => ''],
+ 'ChannelName' => ['description' => 'The channel name.', 'type' => 'string', 'example' => 'first-channel', 'title' => ''],
+ 'ChannelId' => ['description' => 'The channel ID.', 'type' => 'string', 'example' => 'chan-first-channel-31hlgpen5k5lig', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricChaincodeUploadPolicy',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"EndorsePolicy\\": \\"OR (&#39;perf9141MSP.member&#39;)\\",\\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}","type":"json"}]',
+ 'title' => 'Retrieve the chaincode list of an organization',
+ 'summary' => 'Calls DescribeFabricOrganizationChaincodes to retrieve the chaincode list of an organization.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeFabricOrganizationChaincodes' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationChaincodes',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w****',
- ],
+ 'in' => 'query',
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5****', 'title' => ''],
],
[
'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -11971,146 +8123,95 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The list of channels that the organization has joined.',
'type' => 'array',
'items' => [
- 'description' => '',
'type' => 'object',
'properties' => [
- 'EndorsePolicy' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OR (&#39;perf9141MSP.member&#39;)',
- ],
- 'State' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'RUNNING',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1533025590',
- ],
- 'ChaincodeId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7',
- ],
- 'ChannelName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'first-channel',
- ],
- 'ChannelId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'chan-first-channel-31hlgpen5k5lig',
- ],
+ 'BatchTimeout' => ['description' => 'The batch timeout period, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'UpdateTime' => ['description' => 'The update time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'ChaincodeCount' => ['description' => 'The number of chaincodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'PreferredMaxBytes' => ['description' => 'The preferred maximum number of bytes.', 'type' => 'integer', 'format' => 'int32', 'example' => '24', 'title' => ''],
+ 'State' => ['description' => 'The state.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'SupportChannelConfig' => ['description' => 'Indicates whether custom configuration parameters are supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'OwnerName' => ['description' => 'The name of the creator.', 'type' => 'string', 'example' => 'uid-116748157028****', 'title' => ''],
+ 'OwnerUid' => ['description' => 'The UID of the creator.', 'type' => 'integer', 'format' => 'int64', 'example' => '116748157028****', 'title' => ''],
+ 'OwnerBid' => ['description' => 'The BID of the creator.', 'type' => 'string', 'example' => '26842', 'title' => ''],
+ 'MaxMessageCount' => ['description' => 'The maximum number of message entries that a block can contain.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''],
+ 'MemberCount' => ['description' => 'The number of members.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-perf914-37cfcff9pa****', 'title' => ''],
+ 'ChannelName' => ['description' => 'The channel name.', 'type' => 'string', 'example' => 'mychannel', 'title' => ''],
+ 'DeleteTime' => ['description' => 'The deletion time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'ChannelId' => ['description' => 'The channel ID.', 'type' => 'string', 'example' => 'chan-first-channel-31hlgpen5k****', 'title' => ''],
+ 'Deleted' => ['description' => 'Indicates whether the channel has been deleted.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ConsortiumName' => ['description' => 'The consortium name.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'BlockCount' => ['description' => 'The number of blocks.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"EndorsePolicy\\": \\"OR (&#39;perf9141MSP.member&#39;)\\",\\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 (&amp;#39;perf9141MSP.member&amp;#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' => 'DescribeFabricOrganizationChaincodes',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve the list of channels joined by an organization',
+ 'summary' => 'Calls DescribeFabricOrganizationChannels to retrieve the list of channels that the organization has joined.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeFabricConsortiumMembers' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationChannels',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeFabricOrganizationDeletable' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'ConsortiumId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****',
- ],
+ 'name' => 'OrganizationId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****', 'title' => ''],
],
[
'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The location information.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -12118,99 +8219,78 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Domain' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'domain',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'description',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7',
- ],
- 'OrganizationName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'name',
- ],
- 'JoinedTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1544411108000',
- ],
- 'OrganizationId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- ],
- ],
+ 'description' => 'The result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Deletable' => ['description' => 'Indicates whether the organization can be deleted.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'domain', 'title' => ''],
+ 'State' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'ZoneId' => ['description' => 'The zone.', 'type' => 'string', 'example' => 'zone', 'title' => ''],
+ 'OrganizationName' => ['description' => 'The organization name.', 'type' => 'string', 'example' => 'orgname', 'title' => ''],
+ 'CodeName' => ['description' => 'The domain name prefix.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'OrganizationDescription' => ['description' => 'The organization description.', 'type' => 'string', 'example' => 'desc', 'title' => ''],
+ 'RegionId' => ['description' => 'The region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w****', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricConsortiumMembers',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query whether an organization can be deleted',
+ 'summary' => 'Queries whether an organization can be deleted by calling DescribeFabricOrganizationDeletable.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeFabricConsortiumAdminStatus' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationDeletable',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeFabricOrganizationMembers' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
+ 'name' => 'OrganizationId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****', 'title' => ''],
+ ],
+ [
'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The location information.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -12218,90 +8298,80 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the call is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => '200', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The result.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7',
- ],
- 'ConsortiumAdministrator' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Domain' => ['description' => 'domain', 'type' => 'string', 'example' => 'domain', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', 'title' => ''],
+ 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'description', 'title' => ''],
+ 'State' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'OrganizationName' => ['description' => 'The organization name.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'JoinedTime' => ['description' => 'The time when the organization joined the consortium.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'ConsortiumName' => ['description' => 'The consortium name.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w****', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricConsortiumAdminStatus',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeFabricOrganizationPeers' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve consortiums and members of an organization',
+ 'summary' => 'Calls DescribeFabricOrganizationMembers to retrieve the consortiums that the organization has joined and the consortium members.',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationMembers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeFabricOrganizationPeers' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'OrganizationId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w****',
- ],
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****', 'title' => ''],
],
[
'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -12309,249 +8379,146 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
'type' => 'array',
'items' => [
+ 'description' => 'The list of peer nodes for the organization.',
'type' => 'object',
'properties' => [
- 'UpdateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1533025590',
- ],
- 'Domain' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'domain',
- ],
- 'InternetIp' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '10.0.0.2',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1533025590',
- ],
- 'IsAnchor' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => '10.0.0.2',
- ],
- ],
+ 'UpdateTime' => ['description' => 'The time when the peer node was last updated.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'domain', 'title' => ''],
+ 'InternetIp' => ['description' => 'The public IP address.', 'type' => 'string', 'example' => '10.0.0.2', 'title' => ''],
+ 'CreateTime' => ['description' => 'The time when the peer node was created.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'IsAnchor' => ['description' => 'Indicates whether the peer node is an anchor peer.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'InstanceType' => ['description' => 'The instance type.', 'type' => 'string', 'example' => 'basic', 'title' => ''],
+ 'Port' => ['description' => 'The port.', 'type' => 'integer', 'format' => 'int32', 'example' => '1234', 'title' => ''],
+ 'OrganizationPeerName' => ['description' => 'The name of the peer node in the organization.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'IntranetIp' => ['description' => 'The internal IP address.', 'type' => 'string', 'example' => '10.0.0.2', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricOrganizationPeers',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeFabricConsortiumMemberApproval' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve the list of peer nodes for an organization',
+ 'summary' => 'Calls DescribeFabricOrganizationPeers to retrieve the list of peer nodes for an organization.',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => 'Error codes changed'],
],
- 'security' => [
- [
- 'AK' => [],
- ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'ConsortiumId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationPeers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
'type' => 'array',
'items' => [
+ 'description' => 'The list of organization specifications.',
'type' => 'object',
'properties' => [
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7',
- ],
- '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' => '',
- 'type' => 'string',
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- ],
+ 'Title' => ['description' => 'The title.', 'type' => 'string', 'example' => '基础版', 'title' => ''],
+ 'OrganizationSpecsName' => ['description' => 'The specification name.', 'type' => 'string', 'example' => 'basic', 'title' => ''],
+ 'Enable' => ['description' => 'Indicates whether it is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricConsortiumMemberApproval',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeFabricOrganizationDeletable' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Query the list of organization specifications',
+ 'summary' => 'Queries the list of organization specifications by calling DescribeFabricOrganizationSpecs.',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationSpecs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeFabricOrganizationUsers' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'OrganizationId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w****',
- ],
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****', 'title' => ''],
],
[
'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -12559,93 +8526,68 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'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' => '',
- 'type' => 'string',
- 'example' => 'peers-aaaaaa2-1eqnj5o5w****',
+ 'description' => 'The user list of the organization.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ExpireTime' => ['description' => 'The expiration time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'Attrs' => ['description' => 'The attribute-based access control (ABAC) attributes.', 'type' => 'string', 'example' => 'foo=foo1,bar=bar1', 'title' => ''],
+ 'CallerBid' => ['description' => 'The business ID of the caller.', 'type' => 'string', 'example' => '26842', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'FullName' => ['description' => 'The full name.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'CallerUid' => ['description' => 'The user ID of the caller.', 'type' => 'integer', 'format' => 'int64', 'example' => '84927598****', 'title' => ''],
+ 'Username' => ['description' => 'The username.', 'type' => 'string', 'example' => 'username', 'title' => ''],
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', 'title' => ''],
+ 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricOrganizationDeletable',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Retrieve the user list of an organization',
+ 'summary' => 'Calls DescribeFabricOrganizationUsers to retrieve the user list of an organization.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeFabricConsortiums' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationUsers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeFabricOrganizations' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12653,57 +8595,35 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'ConsortiumId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****',
- ],
- ],
- [
'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => '',
+ 'description' => 'The list of tags.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'key1',
- ],
- 'Value' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value1',
- ],
+ 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => true, 'example' => 'key1', 'title' => ''],
+ 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value1', 'title' => ''],
],
'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -12712,480 +8632,356 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The list of organizations.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ChannelCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'Domain' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'domain',
- ],
- 'State' => [
- 'description' => '',
- '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' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12042815',
- ],
- 'OwnerBid' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => '3A929FAC-A82D-4EAB-A0FF-D867426D8B23',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- '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' => 'The domain name.', 'type' => 'string', 'example' => 'domain', 'title' => ''],
+ 'PeerCount' => ['description' => 'The number of peer nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
+ 'State' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'ConsortiumCount' => ['description' => 'The number of consortiums.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'SpecName' => ['description' => 'The specification name.', 'type' => 'string', 'example' => 'basic、', 'title' => ''],
+ 'OwnerName' => ['description' => 'The creator.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'OwnerUid' => ['description' => 'The user ID of the creator.', 'type' => 'integer', 'format' => 'int64', 'example' => '1232', 'title' => ''],
+ 'OwnerBid' => ['description' => 'The business ID of the creator.', 'type' => 'string', 'example' => 'bid', 'title' => ''],
+ 'CodeName' => ['description' => 'The domain name prefix.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'OrganizationDescription' => ['description' => 'The description of the organization.', 'type' => 'string', 'example' => 'desc', 'title' => ''],
+ 'RegionId' => ['description' => 'The region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'ZoneId' => ['description' => 'The zone.', 'type' => 'string', 'example' => 'zone', 'title' => ''],
+ 'UserCount' => ['description' => 'The number of users.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'OrganizationName' => ['description' => 'The organization name.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'MajorVersion' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'Tags' => [
- 'description' => '',
+ 'description' => 'The list of tags.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'app',
- ],
- 'Value' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'nat_internet',
- ],
+ 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'BlockChainOwner', 'title' => ''],
+ 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'DepartmentA', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'DescribeFabricOrganizations',
+ 'summary' => 'Calls DescribeFabricOrganizations to retrieve the list of organizations.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeFabricConsortiumDeletable' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2023-03-23T09:30:52.000Z', 'description' => 'Response parameters changed, Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-test11-tzwny25vqicq', 'title' => ''],
+ ],
+ [
+ 'name' => 'PeerName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the peer node.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peer1', 'title' => ''],
+ ],
+ [
+ 'name' => 'Lines',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of lines to display.', 'type' => 'string', 'required' => false, 'example' => '50', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '78A09CAF-4944-4CAE-B25D-F5B6BA27D9F5', 'title' => ''],
+ 'Result' => ['description' => 'The log record.', 'type' => 'string', 'example' => 'xxxx', 'title' => ''],
+ 'Success' => ['description' => 'The return status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ ],
'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"78A09CAF-4944-4CAE-B25D-F5B6BA27D9F5\\",\\n \\"Result\\": \\"xxxx\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'Retrieve peer node log information',
+ 'summary' => 'Calls DescribeFabricPeerLogs to retrieve the log information of a peer node.',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Location',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricPeerLogs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ ],
+ 'DescribeRegions' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ [
+ 'name' => 'AcceptLanguage',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The language of the response. Valid values:'."\n"
+ ."\n"
+ .'- **zh-CN**: Chinese. This is the default value.'."\n"
+ .'- **en-US**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh-CN', 'title' => ''],
+ ],
+ ],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7',
- ],
- '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' => 'The request ID.', 'type' => 'string', 'example' => 'D1597848-E708-522C-9275-3A202FC8B63A', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Regions' => [
+ 'description' => 'The list of regions.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionEndpoint' => ['description' => 'The endpoint of the region.', 'type' => 'string', 'example' => 'baas.cn-hangzhou.aliyuncs.com', 'title' => ''],
+ 'LocalName' => ['description' => 'The region name.', 'type' => 'string', 'example' => '华东1(杭州)', 'title' => ''],
+ 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricConsortiumDeletable',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeFabricConsortiumChaincodes' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ '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' => 'Retrieve region list',
+ 'summary' => 'Retrieves the list of regions.',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-11T11:54:35.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ 'DescribeRootDomain' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [
- [
- 'name' => 'ConsortiumId',
- 'in' => 'formData',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Result' => ['description' => 'The result.', 'type' => 'string', 'example' => 'onaliyunbaas.com', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ ],
'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3\\",\\n \\"Result\\": \\"onaliyunbaas.com\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'Retrieve available root domains',
+ 'summary' => 'Retrieves the available root domains in BaaS.',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-11T11:54:35.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'DynamicMessage' => ['description' => 'The dynamic message.', 'type' => 'string', 'example' => 'msg', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'DynamicCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'code', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The result.',
'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' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- ],
- 'DeployTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1544411108000',
- ],
- 'ChaincodeVersion' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1.0',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7',
- ],
- 'ChannelName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cname',
- ],
- 'ChannelId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'chan-channelx-1l1hmckuuisxo',
- ],
- 'Path' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'go-sdk-demo/chaincode/src',
- ],
+ 'Action' => ['description' => 'The action.', 'type' => 'string', 'example' => 'action', 'title' => ''],
+ 'Result' => ['description' => 'The result.', 'type' => 'string', 'example' => 'result', 'title' => ''],
+ 'Sender' => ['description' => 'The sender.', 'type' => 'string', 'example' => 'sender', 'title' => ''],
+ 'OperationType' => ['description' => 'The operation type.', 'type' => 'string', 'example' => 'type', 'title' => ''],
+ 'Handled' => ['description' => 'Indicates whether the task has been handled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'ResponseTime' => ['description' => 'The response time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'Target' => ['description' => 'The recipient.', 'type' => 'string', 'example' => 'target', 'title' => ''],
+ 'TaskId' => ['description' => 'The task ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '33', 'title' => ''],
+ 'RequestTime' => ['description' => 'The request time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1533025590', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricConsortiumChaincodes',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeFabricOrganizationMembers' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'DescribeTasks',
+ 'summary' => 'Retrieves the task list.',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeTasks',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DownloadFabricOrganizationSDK' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'OrganizationId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w****',
- ],
+ 'in' => 'query',
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****', 'title' => ''],
+ ],
+ [
+ 'name' => 'Username',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The username.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'username', 'title' => ''],
],
[
'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -13193,151 +8989,75 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Domain' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'domain',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'desc',
- ],
- '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' => '',
- 'type' => 'string',
- 'example' => 'peers-aaaaaa2-1eqnj5o5w****',
- ],
+ 'Path' => ['description' => 'The path of the file after file extraction.', 'type' => 'string', 'example' => 'dir/file', 'title' => ''],
+ 'Content' => ['description' => 'The Base64-encoded file content. You must decode the content by using Base64 to obtain the original file content.', 'type' => 'string', 'example' => 'base64string', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricOrganizationMembers',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeFabricOrganization' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Download SDK',
+ 'summary' => 'Downloads an SDK by calling DownloadFabricOrganizationSDK.',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DownloadFabricOrganizationSDK',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => 'OrganizationId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w****',
- ],
- ],
- [
- 'name' => 'Location',
+ 'name' => 'AntChainId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1q8B5R9p', 'title' => ''],
],
[
- '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' => 'Account',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The account name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'accountname', 'title' => ''],
],
],
'responses' => [
@@ -13345,202 +9065,65 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => 'object',
- 'properties' => [
- 'Domain' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'org1.alibabacloudbaas.com',
- ],
- 'PeerCount' => [
- 'description' => '',
- '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' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '23434',
- ],
- 'OwnerBid' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- ],
- 'MSP' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'org1MSP',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'CAUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://ca1.org1.alibabacloudbaas.com:31154',
- ],
- 'CANAME' => [
- 'description' => '',
- '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',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'Result' => ['description' => 'The request result.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9F862442-F6AD-4B5F-8969-CE23DE1413CB', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"9F862442-F6AD-4B5F-8969-CE23DE1413CB\\"\\n}","type":"json"}]',
+ 'title' => 'Freeze an account on an ant blockchain',
+ 'summary' => 'Freezes an account on an Ant Blockchain.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeFabricConsortiumChannels' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:FreezeAntChainAccount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'InstallFabricChaincode' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'ConsortiumId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7',
- ],
+ 'name' => 'OrganizationId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', 'title' => ''],
+ ],
+ [
+ 'name' => 'ChaincodeId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The chaincode ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chan-channelx-1l1hmckuuisxo', 'title' => ''],
],
[
'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -13548,321 +9131,177 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
- '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' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '212',
- ],
- 'OwnerBid' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7',
- ],
- 'ChannelName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'mychammel',
- ],
- 'DeleteTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1544411108000',
- ],
- 'ChannelId' => [
- 'description' => '',
- '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' => 'The result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The type. Valid values:'."\n"
+ .'- 0: undefined'."\n"
+ .'- 1: Go'."\n"
+ .'- 2: Node'."\n"
+ .'- 4: Java.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'EndorsePolicy' => ['description' => 'The endorsement policy.', 'type' => 'string', 'example' => 'OR ("perf9141MSP.member")', 'title' => ''],
+ 'State' => ['description' => 'The state.', 'type' => 'string', 'example' => 'Pending', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'ChaincodeId' => ['description' => 'The chaincode ID.', 'type' => 'string', 'example' => 'cc-198jejf8f8chi8', 'title' => ''],
+ 'ProviderName' => ['description' => 'The uploader.', 'type' => 'string', 'example' => 'prividername', 'title' => ''],
+ 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => 'ok', 'title' => ''],
+ 'ChaincodeName' => ['description' => 'The chaincode name.', 'type' => 'string', 'example' => 'mychannel', 'title' => ''],
+ 'Input' => ['description' => 'The input.', 'type' => 'string', 'example' => 'input', 'title' => ''],
+ 'Install' => ['description' => 'Indicates whether the chaincode is installed.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'ProviderId' => ['description' => 'The uploader ID.', 'type' => 'string', 'example' => 'providerid', 'title' => ''],
+ 'DeployTime' => ['description' => 'The deployment time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'ChaincodeVersion' => ['description' => 'The chaincode version.', 'type' => 'string', 'example' => '1.0', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', 'title' => ''],
+ 'ChannelName' => ['description' => 'The channel name.', 'type' => 'string', 'example' => 'mychannel', 'title' => ''],
+ 'Path' => ['description' => 'The path.', 'type' => 'string', 'example' => 'github.com/hyperledger/fabric-samples/chaincode/sacc', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricConsortiumChannels',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Install chaincode',
+ 'summary' => 'Calls InstallFabricChaincode to install a chaincode.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeFabricOrganizationUsers' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:InstallFabricChaincode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'InstallFabricChaincodePackage' => [
+ 'summary' => 'Installs a Fabric 2.0 attribute chaincode package.',
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'OrganizationId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w****',
- ],
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', 'title' => ''],
+ ],
+ [
+ 'name' => 'ChaincodePackageId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The chaincode package ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chan-channelx-1l1hmckuuisxo', 'title' => ''],
],
[
'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The result.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'foo=foo1,bar=bar1',
- ],
- 'CallerBid' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '26842',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1533025590',
- ],
- 'FullName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'name',
- ],
- 'CallerUid' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '84927598****',
- ],
- 'Username' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'username',
- ],
- 'OrganizationId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- ],
- 'RegionId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- ],
- ],
- ],
+ 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => 'ok', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Result' => ['description' => 'The result.', '$ref' => '#/components/schemas/ChaincodePackage', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricOrganizationUsers',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeFabricInvitationCode' => [
- 'methods' => [
- 'post',
- 'get',
+ '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' => 'Install a 2.0 chaincode package',
+ 'changeSet' => [
+ ['createdAt' => '2022-02-28T10:34:55.000Z', 'description' => 'OpenAPI offline'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:InstallFabricChaincodePackage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'InstantiateFabricChaincode' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'ConsortiumId',
+ 'name' => 'OrganizationId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****',
- ],
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****', 'title' => ''],
+ ],
+ [
+ 'name' => 'ChaincodeId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The chaincode ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cc-198jejf8f8****', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndorsePolicy',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The endorsement policy.', 'type' => 'string', 'required' => false, 'example' => 'OR (&#39;perf9141MSP.member&#39;)', 'title' => ''],
+ ],
+ [
+ 'name' => 'Location',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ [
+ 'name' => 'CollectionConfig',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The private data collection configuration:'."\n"
+ .'- name: The name of the private data collection.'."\n"
+ .'- maxPeerCount: The maximum number of peer nodes to which the private data collection can be distributed during the endorsement phase.'."\n"
+ .'- requiredPeerCount: The minimum number of peer nodes to which the private data collection must be distributed during the endorsement phase for the transaction to be considered successful.'."\n"
+ .'- blockToLive: The duration (in block height) for which private data is retained after the private transaction is committed to the blockchain. A value of 0 indicates permanent retention.'."\n"
+ .'- policy: The peer nodes to which the private data collection is allowed to be distributed. The format is the same as the endorsement policy.', 'type' => 'string', 'required' => false, 'example' => '[{"requiredPeerCount":0,"name":"collectionName","maxPeerCount":3,"blockToLive":0,"policy":"OR(\'Org1MSP.peer\')"}]', 'title' => ''],
],
],
'responses' => [
@@ -13870,188 +9309,159 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'DynamicMessage' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'The invitation code could not found.',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The result.',
'type' => 'object',
'properties' => [
- 'SenderId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '26345345',
- ],
- 'Email' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'abc@126.com',
- ],
- 'SenderBid' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '27534',
- ],
- 'ExpireTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1544411108000',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7',
- ],
- 'InvitationId' => [
- 'description' => '',
- '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' => 'The type.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'EndorsePolicy' => ['description' => 'The endorsement policy.', 'type' => 'string', 'example' => 'OR (\'aaaaaa1MSP.peer\')', 'title' => ''],
+ 'State' => ['description' => 'The state.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'ChaincodeId' => ['description' => 'The chaincode ID.', 'type' => 'string', 'example' => 'cc-198jejf8f8chi8', 'title' => ''],
+ 'ProviderName' => ['description' => 'The name of the uploader.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => 'ok', 'title' => ''],
+ 'ChaincodeName' => ['description' => 'The chaincode name.', 'type' => 'string', 'example' => 'channelname', 'title' => ''],
+ 'Input' => ['description' => 'The input.', 'type' => 'string', 'example' => 'input', 'title' => ''],
+ 'Install' => ['description' => 'Indicates whether the chaincode is installed.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'ProviderId' => ['description' => 'The uploader ID.', 'type' => 'string', 'example' => 'id', 'title' => ''],
+ 'DeployTime' => ['description' => 'The deployment time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'ChaincodeVersion' => ['description' => 'The chaincode version.', 'type' => 'string', 'example' => '1.0', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7', 'title' => ''],
+ 'ChannelName' => ['description' => 'The channel name.', 'type' => 'string', 'example' => 'channelname', 'title' => ''],
+ 'Path' => ['description' => 'The path.', 'type' => 'string', 'example' => 'go-sdk-demo/chaincode/src', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricInvitationCode',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Instantiate a chaincode',
+ 'summary' => 'Calls InstantiateFabricChaincode to instantiate a chaincode.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeFabricOrganizationSpecs' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:InstantiateFabricChaincode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'JoinFabricChannel' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
+ 'systemTags' => ['operationType' => 'update'],
+ 'parameters' => [
+ [
+ 'name' => 'ChannelId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The channel ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chan-channelx-1l1hmckuu****', 'title' => ''],
+ ],
+ [
+ 'name' => 'Do',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The operation.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'accept', 'title' => ''],
+ ],
+ [
+ 'name' => 'Location',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
],
- 'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The result.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Title' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'OrganizationSpecsName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'basic',
- ],
- 'Enable' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'WithPeer' => ['description' => 'Indicates whether a peer node is included.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'AcceptTime' => ['description' => 'The time when the invitation was accepted.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'State' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'DestroyTime' => ['description' => 'The time when the channel was destroyed.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'InviteTime' => ['description' => 'The time when the invitation was sent.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'ChannelId' => ['description' => 'The channel ID.', 'type' => 'string', 'example' => 'channelid', 'title' => ''],
+ 'ConfirmTime' => ['description' => 'The time when the joining was confirmed.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'ApproveTime' => ['description' => 'The time when the joining was approved.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricOrganizationSpecs',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Confirm joining a channel',
+ 'summary' => 'Calls JoinFabricChannel to confirm joining a channel.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListTagResources' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:JoinFabricChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListTagResources' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14059,51 +9469,38 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => [
- 'description' => '',
+ 'description' => 'Valid values: consortium and organization.',
'type' => 'string',
'required' => true,
'docRequired' => true,
+ 'enum' => ['organization', 'consortium'],
'example' => 'organization',
- 'enum' => [
- 'organization',
- 'consortium',
- ],
+ 'title' => '',
],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MWJlMTY4ZmY4MzdmMDQzYmRlMTdjMDMxNDM0MWM4NDI3MTA0N2IzMQo=',
- ],
+ 'schema' => ['description' => 'The pagination token used to specify the starting point for the query.', 'type' => 'string', 'required' => false, 'example' => 'MWJlMTY4ZmY4MzdmMDQzYmRlMTdjMDMxNDM0MWM4NDI3MTA0N2IzMQo=', 'title' => ''],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => '',
+ 'description' => 'The instance ID. N ranges from 0 to 50. Values must be unique.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'peers-demoinstance-12axcfirtbfkc9d',
- ],
+ 'items' => ['description' => 'The instance ID. N ranges from 0 to 50. Values must be unique.', 'type' => 'string', 'required' => false, 'example' => 'peers-demoinstance-12axcfirtbfkc9d', 'title' => ''],
'required' => false,
'example' => 'peers-tf000eihjli000shanghai-yqxvj52lruxx',
'maxItems' => 51,
+ 'title' => '',
],
],
[
@@ -14111,28 +9508,23 @@
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => '',
+ 'description' => 'The list of labels.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key1',
- ],
- 'Value' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value2',
- ],
+ 'Key' => ['description' => 'The tag key. N ranges from 0 to 20. The results must meet the constraints of all specified keys. Values must be unique.', 'type' => 'string', 'required' => false, 'example' => 'key1', 'title' => ''],
+ 'Value' => ['description' => 'The tag value. N ranges from 0 to 20. Each value must correspond to a tag key. The results must meet the constraints of all specified values.', 'type' => 'string', 'required' => false, 'example' => 'value2', 'title' => ''],
],
'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
'maxItems' => 21,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -14141,136 +9533,88 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'MWJlMTY4ZmY4MzdmMDQzYmRlMTdjMDMxNDM0MWM4NDI3MTA0N2IzMQo=',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '21B8738D-254C-4933-9FC1-3C31B2611482',
- ],
+ 'NextToken' => ['description' => 'The pagination token used to specify the starting point for the query.', 'type' => 'string', 'example' => 'MWJlMTY4ZmY4MzdmMDQzYmRlMTdjMDMxNDM0MWM4NDI3MTA0N2IzMQo=', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '21B8738D-254C-4933-9FC1-3C31B2611482', 'title' => ''],
'TagResources' => [
- 'description' => '',
+ 'description' => 'The maximum length of the array is 20.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'TagValue' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'value1',
- ],
- 'ResourceType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'organization',
- ],
- 'ResourceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'peers-tf000eihjli000shanghai-yqxvj52lruxx',
- ],
- 'TagKey' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'key1',
- ],
+ 'TagValue' => ['description' => 'The tag value of the resource.', 'type' => 'string', 'example' => 'value1', 'title' => ''],
+ 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'organization', 'title' => ''],
+ 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => 'peers-tf000eihjli000shanghai-yqxvj52lruxx', 'title' => ''],
+ 'TagKey' => ['description' => 'The tag key of the resource.', 'type' => 'string', 'example' => 'key1', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'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":""}]',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
'title' => 'ListTagResources',
+ 'summary' => 'Retrieves the labels of resources.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeFabricOrganizationChannels' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:ListTagResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => '',
- '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' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v', 'title' => ''],
],
],
'responses' => [
@@ -14278,195 +9622,61 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- ],
- 'OwnerUid' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '',
- ],
- 'OwnerBid' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'MaxMessageCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- 'MemberCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'ChannelName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'mychannel',
- ],
- 'DeleteTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1533025590',
- ],
- 'ChannelId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Deleted' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ConsortiumName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'name',
- ],
- 'BlockCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- ],
- ],
- ],
+ 'Result' => ['description' => 'The result of the request.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6ED983D3-C131-4104-8BDD-1F37992258E1', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeFabricOrganizationChannels',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"6ED983D3-C131-4104-8BDD-1F37992258E1\\"\\n}","type":"json"}]',
+ 'title' => 'Reset a certificate',
+ 'summary' => 'Resets a certificate.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'AcceptFabricInvitation' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:ResetAntChainCertificate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ ],
+ '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' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ', 'title' => ''],
],
[
- 'name' => 'IsAccepted',
+ 'name' => 'Username',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'docRequired' => false,
- 'default' => 'true',
- 'enum' => [
- 'true',
- 'false',
- ],
- ],
+ 'schema' => ['description' => 'The username.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'uid-128712635330****', 'title' => ''],
],
],
'responses' => [
@@ -14474,84 +9684,72 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '52CC8D5B-79A8-4769-BC7B-8940556ADA49',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Result' => ['description' => 'The request result.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '3EB828D1-1E9D-4EC2-A002-139FE998D674', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'AcceptFabricInvitation',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"3EB828D1-1E9D-4EC2-A002-139FE998D674\\"\\n}","type":"json"}]',
+ 'title' => 'Reset a user',
+ 'summary' => 'Resets a user.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ConfirmFabricConsortiumMember' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:ResetAntChainUserCertificate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ResetFabricOrganizationUserPassword' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'ConsortiumId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'consortium-aaaaaa-akpcsjjac2jd',
- ],
+ 'name' => 'OrganizationId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****', 'title' => ''],
],
[
- 'name' => 'Organization',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'OrganizationId' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'peers-aaaaaa1-1oxw31d046jtl',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- 'maxItems' => 1000,
- ],
+ 'name' => 'Username',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The username.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'username', 'title' => ''],
+ ],
+ [
+ 'name' => 'Password',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The password.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pwd', 'title' => ''],
+ ],
+ [
+ 'name' => 'Location',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -14559,329 +9757,309 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '50B3ACF3-CE12-433C-A834-9E8C657A4934',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
+ 'description' => 'The result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Password' => ['description' => 'The password.', 'type' => 'string', 'example' => 'password', 'title' => ''],
+ 'ExpireTime' => ['description' => 'The expiration time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'OrganizationId' => ['description' => 'The organization ID.', 'type' => 'string', 'example' => 'peers-aaaaaa2-1eqnj5o5w****', 'title' => ''],
+ 'Username' => ['description' => 'The username.', 'type' => 'string', 'example' => 'username', 'title' => ''],
+ 'Fullname' => ['description' => 'The full name.', 'type' => 'string', 'example' => 'username', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Reset user password',
+ 'summary' => 'Resets the password of a user by calling ResetFabricOrganizationUserPassword.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'InstallFabricChaincode' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:ResetFabricOrganizationUserPassword',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'SubmitFabricChaincodeDefinition' => [
+ 'summary' => 'Submits a chaincode definition of version 2.0.',
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3',
- ],
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', 'title' => ''],
],
[
- 'name' => 'ChaincodeId',
+ 'name' => 'ChaincodePackageId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'chan-channelx-1l1hmckuuisxo',
- ],
+ 'schema' => ['description' => 'The chaincode package ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndorsePolicy',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The endorsement policy.', 'type' => 'string', 'required' => true, 'example' => 'OR ("perf9141MSP.member")', 'title' => ''],
],
[
'name' => 'Location',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ [
+ 'name' => 'CollectionConfig',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The collection configuration.', 'type' => 'string', 'required' => false, 'example' => 'collectionconfig', 'title' => ''],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The chaincode package name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sacc', 'title' => ''],
+ ],
+ [
+ 'name' => 'InitRequired',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Specifies whether initialization is required.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
+ ],
+ [
+ 'name' => 'ChannelId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The channel ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chan-channelx-1l1hmckuuisxo', 'title' => ''],
+ ],
+ [
+ 'name' => 'ChaincodeVersion',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The chaincode version.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1.0', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The result.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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 ("perf9141MSP.member")',
- ],
- 'State' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Pending',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1533025590',
- ],
- 'ChaincodeId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'providerid',
- ],
- 'DeployTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1533025590',
- ],
- 'ChaincodeVersion' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1.0',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7',
- ],
- 'ChannelName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'mychannel',
- ],
- 'Path' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'github.com/hyperledger/fabric-samples/chaincode/sacc',
- ],
- ],
- ],
+ 'Message' => ['description' => 'The message returned for the request.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Result' => ['description' => 'The result.', '$ref' => '#/components/schemas/ChaincodeVO', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'InstallFabricChaincode',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'CheckFabricConsortiumDomain' => [
- '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' => ''],
+ ],
+ ],
+ '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' => 'Submit chaincode definition',
+ 'changeSet' => [
+ ['createdAt' => '2022-02-28T10:34:55.000Z', 'description' => 'OpenAPI offline'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:SubmitFabricChaincodeDefinition',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'SynchronizeFabricChaincode' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'DomainCode',
+ 'name' => 'OrganizationId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'bank',
- ],
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w****', 'title' => ''],
+ ],
+ [
+ 'name' => 'ChaincodeId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The chaincode ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'code-sacc-1pr09q7jm****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The response parameters.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '8F80A214-89FC-4348-9B3F-15446B3DC1FA',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
+ 'description' => 'The response result.',
'type' => 'object',
'properties' => [
- 'Domain' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'bank',
- ],
- 'Valid' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Prompt' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'Type' => ['description' => 'The type.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'EndorsePolicy' => ['description' => 'The endorsement policy.', 'type' => 'string', 'example' => 'OR (\'aaaaaa1MSP.peer\')', 'title' => ''],
+ 'State' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'ChaincodeId' => ['description' => 'The chaincode ID.', 'type' => 'string', 'example' => 'code-sacc-1pr09q7jm****', 'title' => ''],
+ 'ProviderName' => ['description' => 'The name of the uploader.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => 'ok', 'title' => ''],
+ 'ChaincodeName' => ['description' => 'The chaincode name.', 'type' => 'string', 'example' => 'mychaincode', 'title' => ''],
+ 'Input' => ['description' => 'The input.', 'type' => 'string', 'example' => 'input', 'title' => ''],
+ 'Install' => ['description' => 'false', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'ProviderId' => ['description' => 'The uploader ID.', 'type' => 'string', 'example' => 'provider', 'title' => ''],
+ 'DeployTime' => ['description' => 'The deployment time.', 'type' => 'string', 'example' => '1533025590', 'title' => ''],
+ 'ChaincodeVersion' => ['description' => 'The chaincode version.', 'type' => 'string', 'example' => '1.0', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****', 'title' => ''],
+ 'ChannelName' => ['description' => 'The channel name.', 'type' => 'string', 'example' => 'chan-channelx-1l1hmckuuisxo', 'title' => ''],
+ 'Path' => ['description' => 'The path.', 'type' => 'string', 'example' => 'go-sdk-demo/chaincode/src', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'CheckFabricConsortiumDomain',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'SynchronizeFabricChaincode' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'errorCodes' => [
+ 409 => [
+ ['errorCode' => 'Chaincode.Duplicated', 'errorMessage' => 'ChainCode [%s] with version [%s] already exists', 'description' => ''],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Sync chaincode upgrade and instantiation status',
+ 'summary' => 'Synchronizes the upgrade and instantiation status of a chaincode by calling SynchronizeFabricChaincode.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:SynchronizeFabricChaincode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'TagResources' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'OrganizationId',
- 'in' => 'formData',
+ 'name' => 'ResourceType',
+ 'in' => 'query',
'schema' => [
- 'description' => '',
+ 'description' => 'Valid values: consortium and organization.',
'type' => 'string',
'required' => true,
'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w****',
+ 'enum' => ['organization', 'consortium'],
+ 'example' => 'organization',
+ 'title' => '',
],
],
[
- 'name' => 'ChaincodeId',
- 'in' => 'formData',
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'code-sacc-1pr09q7jm****',
+ 'description' => 'The instance ID. N ranges from 1 to 50.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The resource ID. N ranges from 1 to 50.', 'type' => 'string', 'required' => false, 'example' => 'peers-tf000eihjli000shanghai-yqxvj5***', 'title' => ''],
+ 'required' => false,
+ 'example' => 'peers-tf000eihjli000beijing-bl6rdwi82tget',
+ 'maxItems' => 51,
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The list of tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The tag key. N ranges from 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'key1', 'title' => ''],
+ 'Value' => ['description' => 'The tag value. N ranges from 1 to 20. Each tag value must correspond to a tag key.', 'type' => 'string', 'required' => false, 'example' => 'value1', 'title' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -14890,177 +10068,77 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- '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' => '',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ProviderId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'provider',
- ],
- 'DeployTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1533025590',
- ],
- 'ChaincodeVersion' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1.0',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwl****',
- ],
- 'ChannelName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'chan-channelx-1l1hmckuuisxo',
- ],
- 'Path' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'go-sdk-demo/chaincode/src',
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '21B8738D-254C-4933-9FC1-3C31B2611482', 'title' => ''],
+ 'Result' => ['description' => 'The result value.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'errorCodes' => [
- 409 => [
- [
- 'errorCode' => 'Chaincode.Duplicated',
- 'errorMessage' => 'ChainCode [%s] with version [%s] already exists',
- ],
+ 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' => ''],
],
],
- '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' => 'SynchronizeFabricChaincode',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"21B8738D-254C-4933-9FC1-3C31B2611482\\",\\n \\"Result\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'TagResources',
+ 'summary' => 'Marks a consortium or organization with tags.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DownloadFabricOrganizationSDK' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:TagResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UnfreezeAntChainAccount' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'write',
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'OrganizationId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w****',
- ],
- ],
- [
- 'name' => 'Username',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'username',
- ],
+ 'name' => 'AntChainId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1q8B5R9p', 'title' => ''],
],
[
- 'name' => 'Location',
+ 'name' => 'Account',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The account name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'accountname', 'title' => ''],
],
],
'responses' => [
@@ -15068,61 +10146,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => [
- 'Path' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'dir/file',
- ],
- 'Content' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'base64string',
- ],
- ],
- ],
- ],
+ 'Result' => ['description' => 'The request result.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6ED983D3-C131-4104-8BDD-1F37992258E1', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DownloadFabricOrganizationSDK',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"6ED983D3-C131-4104-8BDD-1F37992258E1\\"\\n}","type":"json"}]',
+ 'title' => 'Unfreeze an account on an ant blockchain',
+ 'summary' => 'Unfreezes an account on an Ant Blockchain.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ResetFabricOrganizationUserPassword' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UnfreezeAntChainAccount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UntagResources' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15130,51 +10191,52 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'OrganizationId',
- 'in' => 'formData',
+ 'name' => 'ResourceType',
+ 'in' => 'query',
'schema' => [
- 'description' => '',
+ 'description' => 'Valid values: consortium and organization.',
'type' => 'string',
'required' => true,
'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w****',
+ 'enum' => ['organization', 'consortium'],
+ 'example' => 'organization',
+ 'title' => '',
],
],
[
- 'name' => 'Username',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'username',
- ],
+ 'name' => 'All',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to delete all tag keys of the instance. This parameter is valid only when TagKey is empty.', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'default' => 'false', 'example' => 'true', 'title' => ''],
],
[
- 'name' => 'Password',
- 'in' => 'formData',
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
+ 'type' => 'array',
+ 'items' => ['description' => 'The instance ID. N ranges from 0 to 50. Values cannot be duplicated.', 'type' => 'string', 'required' => false, 'example' => 'peers-tf000eihjli000shanghai-yqxvj52lruxx', 'title' => ''],
+ 'required' => false,
+ 'maxItems' => 51,
'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'pwd',
- 'docRequired' => true,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'Location',
- 'in' => 'formData',
+ 'name' => 'TagKey',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '',
- 'type' => 'string',
+ 'type' => 'array',
+ 'items' => ['description' => 'The tag key. N ranges from 1 to 20. Values cannot be duplicated.', 'type' => 'string', 'required' => false, 'example' => 'key1', 'title' => ''],
'required' => false,
- 'example' => 'cn-hangzhou',
+ 'maxItems' => 21,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -15183,108 +10245,74 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'peers-aaaaaa2-1eqnj5o5w****',
- ],
- 'Username' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'username',
- ],
- 'Fullname' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'username',
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '21B8738D-254C-4933-9FC1-3C31B2611482', 'title' => ''],
+ 'Result' => ['description' => 'The result.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => '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' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"21B8738D-254C-4933-9FC1-3C31B2611482\\",\\n \\"Result\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'Delete resource tags',
+ 'summary' => 'Deletes tags from a resource.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UntagResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pYogqb9v', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'AntChainName',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'bank',
- 'default' => 'canyouguessme',
- ],
+ 'schema' => ['description' => 'The blockchain name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '修改名称', 'title' => ''],
],
],
'responses' => [
@@ -15292,123 +10320,138 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => 'The request result.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F6A52E53-2CCB-4C3C-A44D-45FAEBC24E47', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'CheckFabricOrganizationDomain',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"F6A52E53-2CCB-4C3C-A44D-45FAEBC24E47\\"\\n}","type":"json"}]',
+ 'title' => 'Update an ant blockchain name',
+ 'summary' => 'Updates the name of an Ant Blockchain.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UpgradeFabricChaincode' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UpdateAntChain',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ ],
+ '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-wholesaler-15ix77tof****',
- ],
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'q0oWq92P', 'title' => ''],
],
[
- 'name' => 'ChaincodeId',
+ 'name' => 'ConsortiumName',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'code-sacc-fk9z4r97****',
- ],
+ 'schema' => ['description' => 'The consortium name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '联盟名称', 'title' => ''],
],
[
- 'name' => 'EndorsePolicy',
+ 'name' => 'ConsortiumDescription',
'in' => 'formData',
+ 'schema' => ['description' => 'The consortium description.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '测试联盟', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Result' => ['description' => 'The result of the request.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1E55C947-19B4-4AAD-9D22-0B8DA8904B3D', 'title' => ''],
+ ],
'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OR ("wholesalerMSP.peer")',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"1E55C947-19B4-4AAD-9D22-0B8DA8904B3D\\"\\n}","type":"json"}]',
+ 'title' => 'Update consortium properties',
+ 'summary' => 'Updates the properties of a consortium.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
+ ],
+ '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' => 'All Resource', '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' => 'The file ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'R6XMn59e', 'title' => ''],
+ ],
+ [
+ 'name' => 'ParentContentId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The ID of the parent folder.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'R38DYDop', 'title' => ''],
+ ],
+ [
+ 'name' => 'ContentName',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The updated name of the file or folder.', 'type' => 'string', 'required' => false, 'example' => 'newFile', 'title' => ''],
+ ],
+ [
+ 'name' => 'Content',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The file content.', 'type' => 'string', 'required' => false, 'example' => 'update content', 'title' => ''],
],
],
'responses' => [
@@ -15416,190 +10459,71 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => '1928592',
- ],
- 'DeployTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1545215617000',
- ],
- 'ChaincodeVersion' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1.0',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'consortium-supplychain-1pxzsp5tb****',
- ],
- 'ChannelName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cc',
- ],
- 'Path' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'github.com/sacc',
- ],
- ],
- ],
+ 'Result' => ['description' => 'The request result.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '08CBD579-C430-4F1F-9011-C120FA1E9B97', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'UpgradeFabricChaincode',
- 'description' => '****',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"08CBD579-C430-4F1F-9011-C120FA1E9B97\\"\\n}","type":"json"}]',
+ 'title' => 'Update the content of a smart contract project',
+ 'summary' => 'Updates the content of a smart contract project.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'InstantiateFabricChaincode' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UpdateAntChainContractContent',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateAntChainContractProject' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'operationType' => 'write',
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'OrganizationId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'peers-aaaaaa2-1eqnj5o5w****',
- ],
- ],
- [
- 'name' => 'ChaincodeId',
+ 'name' => 'ProjectId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cc-198jejf8f8****',
- ],
+ 'schema' => ['description' => 'The ID of the smart contract project.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK1b8Z', 'title' => ''],
],
[
- 'name' => 'EndorsePolicy',
+ 'name' => 'ProjectName',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OR (&#39;perf9141MSP.member&#39;)',
- ],
+ 'schema' => ['description' => 'The name of the smart contract project.', 'type' => 'string', 'required' => false, 'example' => '更新合约工程名称', 'title' => ''],
],
[
- 'name' => 'Location',
+ 'name' => 'ProjectVersion',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The version of the smart contract project.', 'type' => 'string', 'required' => false, 'example' => 'v1.1.1', 'title' => ''],
],
[
- 'name' => 'CollectionConfig',
+ 'name' => 'ProjectDescription',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"requiredPeerCount":0,"name":"collectionName","maxPeerCount":3,"blockToLive":0,"policy":"OR(\'Org1MSP.peer\')"}]',
- ],
+ 'schema' => ['description' => 'The description of the smart contract project.', 'type' => 'string', 'required' => false, 'example' => '合约工程的版本描述', 'title' => ''],
],
],
'responses' => [
@@ -15607,201 +10531,66 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'id',
- ],
- 'DeployTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1533025590',
- ],
- 'ChaincodeVersion' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1.0',
- ],
- 'ConsortiumId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'consortium-lianmenyumingyi-hc5d1bwlulg7',
- ],
- 'ChannelName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'channelname',
- ],
- 'Path' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'go-sdk-demo/chaincode/src',
- ],
- ],
- ],
+ 'Result' => ['description' => 'The result of the request.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9EBD381E-A19E-4875-8771-EDA08A0416D3', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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:&amp;quot;john&amp;quot; args:&amp;quot;10&amp;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' => 'InstantiateFabricChaincode',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"9EBD381E-A19E-4875-8771-EDA08A0416D3\\"\\n}","type":"json"}]',
+ 'title' => 'Update smart contract project properties within a consortium',
+ 'summary' => 'Updates the properties of a smart contract project within a consortium.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'TagResources' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:55.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UpdateAntChainContractProject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'organization',
- 'enum' => [
- 'organization',
- 'consortium',
- ],
- ],
+ 'name' => 'MemberName',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The name of the member.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'updatename', 'title' => ''],
],
[
- 'name' => 'ResourceId',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'peers-tf000eihjli000shanghai-yqxvj5***',
- ],
- 'required' => false,
- 'example' => 'peers-tf000eihjli000beijing-bl6rdwi82tget',
- 'maxItems' => 51,
- ],
+ 'name' => 'ConsortiumId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The consortium ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AroN3X2l', 'title' => ''],
],
[
- 'name' => 'Tag',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key1',
- ],
- 'Value' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value1',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 21,
- ],
+ 'name' => 'MemberId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The member ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1287126353301234', 'title' => ''],
],
],
'responses' => [
@@ -15809,87 +10598,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => 'The result of the request.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"5BA242B2-AB0C-4D06-94EB-23CEC4F7B95E\\"\\n}","type":"json"}]',
+ 'title' => 'Update consortium member properties',
+ 'summary' => 'Updates the properties of a consortium member.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UntagResources' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UpdateAntChainMember',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateAntChainQRCodeAuthorization' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15897,288 +10643,1990 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'ResourceType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'organization',
- 'enum' => [
- 'organization',
- 'consortium',
- ],
- ],
+ 'name' => 'AntChainId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The blockchain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'bDXK6boZ', 'title' => ''],
],
[
- 'name' => 'All',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'true',
- 'default' => 'false',
- ],
+ 'name' => 'QRCodeType',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The QR code type. Valid values:'."\n"
+ ."\n"
+ .'- MINI_APP_BROWSER_TRANSACTION: Alipay mini program blockchain browser.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MINI_APP_BROWSER_TRANSACTION', 'title' => ''],
],
[
- 'name' => 'ResourceId',
- 'in' => 'query',
- 'style' => 'repeatList',
+ 'name' => 'AuthorizationType',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The authorization type. Valid values:'."\n"
+ ."\n"
+ .'- ALL_USER_AUTHORIZATION: all users are authorized.'."\n"
+ .'- SPECIFIC_USER_AUTHORIZATION: specific users are authorized.'."\n"
+ .'- UNAUTHORIZED: no users are authorized.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ALL_USER_AUTHORIZATION', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'Result' => ['description' => 'The request result.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D68D66B6-1964-4073-8714-B49F5EF1AEFC', 'title' => ''],
],
- 'required' => false,
- 'example' => 'peers-tf000eihjli000shanghai-yqxvj52lruxx',
- 'maxItems' => 51,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"success\\",\\n \\"RequestId\\": \\"D68D66B6-1964-4073-8714-B49F5EF1AEFC\\"\\n}","type":"json"}]',
+ 'title' => 'Set ant blockchain transaction QR code authorization status',
+ 'summary' => 'Sets the transaction QR code authorization status for Ant Blockchain.',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-25T13:34:54.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'TagKey',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UpdateAntChainQRCodeAuthorization',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
- 'required' => false,
- 'example' => 'key1',
- 'maxItems' => 21,
],
],
],
+ ],
+ 'UpgradeFabricChaincode' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => ['operationType' => 'update'],
+ 'parameters' => [
+ [
+ 'name' => 'OrganizationId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-wholesaler-15ix77tof****', 'title' => ''],
+ ],
+ [
+ 'name' => 'ChaincodeId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The chaincode ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'code-sacc-fk9z4r97****', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndorsePolicy',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The endorsement policy.', 'type' => 'string', 'required' => false, 'example' => 'OR ("wholesalerMSP.peer")', 'title' => ''],
+ ],
+ [
+ 'name' => 'Location',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ [
+ 'name' => 'CollectionConfig',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The private data collection configuration.', 'type' => 'string', 'required' => false, 'example' => '[{"requiredPeerCount":0,"name":"collectionName","maxPeerCount":3,"blockToLive":0,"policy":"OR(\'Org1MSP.peer\')"}]', 'title' => ''],
+ ],
+ ],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '21B8738D-254C-4933-9FC1-3C31B2611482',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A6CC6C63-2D71-4D0C-AEBE-E95F0127C514', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Result' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
+ 'description' => 'The result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The type.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'EndorsePolicy' => ['description' => 'The endorsement policy.', 'type' => 'string', 'example' => 'OR ("wholesalerMSP.peer")', 'title' => ''],
+ 'State' => ['description' => 'The state.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1545215617000', 'title' => ''],
+ 'ChaincodeId' => ['description' => 'The chaincode ID.', 'type' => 'string', 'example' => 'code-sacc-fk9z4r97****', 'title' => ''],
+ 'ProviderName' => ['description' => 'The name of the uploader.', 'type' => 'string', 'example' => 'uid-1928592', 'title' => ''],
+ 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'ChaincodeName' => ['description' => 'The chaincode name.', 'type' => 'string', 'example' => 'mychaincode', 'title' => ''],
+ 'Input' => ['description' => 'The input.', 'type' => 'string', 'example' => 'input', 'title' => ''],
+ 'Install' => ['description' => 'Indicates whether the chaincode is installed.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'ProviderId' => ['description' => 'The uploader ID.', 'type' => 'string', 'example' => '1928592', 'title' => ''],
+ 'DeployTime' => ['description' => 'The deployment time.', 'type' => 'string', 'example' => '1545215617000', 'title' => ''],
+ 'ChaincodeVersion' => ['description' => 'The chaincode version.', 'type' => 'string', 'example' => '1.0', 'title' => ''],
+ 'ConsortiumId' => ['description' => 'The consortium ID.', 'type' => 'string', 'example' => 'consortium-supplychain-1pxzsp5tb****', 'title' => ''],
+ 'ChannelName' => ['description' => 'The channel name.', 'type' => 'string', 'example' => 'cc', 'title' => ''],
+ 'Path' => ['description' => 'The path.', 'type' => 'string', 'example' => 'github.com/sacc', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => '%s',
- '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":"<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' => 'UntagResources',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ 'title' => 'Upgrade chaincode',
+ 'summary' => 'Calls UpgradeFabricChaincode to upgrade a chaincode.',
+ 'description' => '****.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeEthereumDeletable' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T10:13:04.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UpgradeFabricChaincode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpgradeFabricChaincodeDefinition' => [
+ 'summary' => 'Upgrades the chaincode package definition for version 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' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eth-1ilrhcav4ibdl',
- ],
+ 'schema' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'peers-aaaaaa2-1eqnj5o5w9dt3', 'title' => ''],
+ ],
+ [
+ 'name' => 'ChaincodePackageId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The chaincode package ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sacc_v1.0:698d4e73c5f1d0239fbf0313ac79ddfaf44d5a803ecb02a4d1983cca4a706860', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndorsePolicy',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The endorsement policy.', 'type' => 'string', 'required' => true, 'example' => 'OR ("perf9141MSP.member")', 'title' => ''],
+ ],
+ [
+ 'name' => 'Location',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The location.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ [
+ 'name' => 'CollectionConfig',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The collection configuration information.', 'type' => 'string', 'required' => false, 'example' => 'collectionconfig', 'title' => ''],
+ ],
+ [
+ 'name' => 'ChaincodeId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The chaincode ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'code-sacc-jbkuldd3i7ad', 'title' => ''],
+ ],
+ [
+ 'name' => 'InitRequired',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Specifies whether initialization is required.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
+ [
+ 'name' => 'ChaincodeVersion',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The chaincode version.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1.1', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The result.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'eth-1ilrhcav4ibdl',
- ],
- 'Deletable' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
+ 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => 'ok', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1E55C947-19B4-4AAD-9D22-0B8DA8904B3D', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Result' => ['description' => 'The result.', '$ref' => '#/components/schemas/ChaincodeVO', 'example' => '链码信息', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => 'Upgrade chaincode package definition',
+ 'changeSet' => [
+ ['createdAt' => '2022-02-28T10:34:55.000Z', 'description' => 'OpenAPI offline'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UpgradeFabricChaincodeDefinition',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', '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"}]',
],
],
'endpoints' => [
+ ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'baas.aliyuncs.com', 'endpoint' => 'baas.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'baas.cn-hangzhou.aliyuncs.com', 'endpoint' => 'baas.cn-hangzhou.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'baas.aliyuncs.com', 'endpoint' => 'baas.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'baas.aliyuncs.com', 'endpoint' => 'baas.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'baas.aliyuncs.com', 'endpoint' => 'baas.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'baas.aliyuncs.com', 'endpoint' => 'baas.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'baas.aliyuncs.com', 'endpoint' => 'baas.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'baas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-north-2-gov-1', 'regionName' => 'Beijing Government Cloud', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', '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' => 'Error codes changed', 'api' => 'DescribeAntChainTransactionStatistics'],
+ ['description' => 'Error codes changed', 'api' => 'DescribeRegions'],
+ ['description' => 'Error codes changed', 'api' => 'DescribeRootDomain'],
+ ],
+ 'createdAt' => '2024-07-11T11:54:49.000Z',
+ 'description' => '',
],
[
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com',
+ 'apis' => [
+ ['description' => 'Error codes changed', 'api' => 'AcceptFabricInvitation'],
+ ['description' => 'Error codes changed', 'api' => 'CheckFabricConsortiumDomain'],
+ ['description' => 'Error codes changed', 'api' => 'CheckFabricOrganizationDomain'],
+ ['description' => 'Error codes changed', 'api' => 'CreateFabricConsortium'],
+ ],
+ 'createdAt' => '2024-07-05T10:13:40.000Z',
+ 'description' => '',
],
[
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com',
+ 'apis' => [
+ ['description' => 'Error codes changed', 'api' => 'ApplyAntChainCertificate'],
+ ['description' => 'Error codes changed', 'api' => 'ApplyAntChainCertificateWithKeyAutoCreation'],
+ ['description' => 'Error codes changed', 'api' => 'BatchAddAntChainMiniAppQRCodeAuthorizedUsers'],
+ ['description' => 'Error codes changed', 'api' => 'CopyAntChainContractProject'],
+ ['description' => 'Error codes changed', 'api' => 'CreateAntChainAccount'],
+ ['description' => 'Error codes changed', 'api' => 'CreateAntChainAccountWithKeyPairAutoCreation'],
+ ['description' => 'Error codes changed', 'api' => 'CreateAntChainConsortium'],
+ ['description' => 'Error codes changed', 'api' => 'CreateAntChainContractContent'],
+ ['description' => 'Error codes changed', 'api' => 'CreateAntChainContractProject'],
+ ['description' => 'Error codes changed', 'api' => 'DeleteAntChainConsortium'],
+ ],
+ 'createdAt' => '2024-06-25T13:35:10.000Z',
+ 'description' => '',
],
[
- 'regionId' => 'us-west-1',
- 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com',
+ 'apis' => [
+ ['description' => 'Error codes changed', 'api' => 'DescribeAntChainAccountsV2'],
+ ['description' => 'Error codes changed', 'api' => 'DescribeAntChainBlockV2'],
+ ['description' => 'Error codes changed', 'api' => 'DescribeAntChainCertificateApplicationsV2'],
+ ['description' => 'Error codes changed', 'api' => 'DescribeAntChainConsortiumsV2'],
+ ['description' => 'Error codes changed', 'api' => 'DescribeAntChainContractProjectContentTreeV2'],
+ ['description' => 'Error codes changed', 'api' => 'DescribeAntChainContractProjectsV2'],
+ ['description' => 'Error codes changed', 'api' => 'DescribeAntChainDownloadPathsV2'],
+ ['description' => 'Error codes changed', 'api' => 'DescribeAntChainInformationV2'],
+ ['description' => 'Error codes changed', 'api' => 'DescribeAntChainLatestBlocksV2'],
+ ],
+ 'createdAt' => '2024-06-20T05:48:12.000Z',
+ 'description' => '',
],
[
- 'regionId' => 'us-east-1',
- 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com',
+ 'apis' => [
+ ['description' => 'Error codes changed', 'api' => 'DescribeAntChainInformation'],
+ ['description' => 'Error codes changed', 'api' => 'DescribeAntChainMiniAppBrowserTransactionQRCode'],
+ ],
+ 'createdAt' => '2023-04-18T03:54:22.000Z',
+ 'description' => '',
],
[
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com',
+ 'apis' => [
+ ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeFabricConsortiums'],
+ ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeFabricOrganizations'],
+ ],
+ 'createdAt' => '2023-03-24T08:19:59.000Z',
+ 'description' => '',
],
[
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com',
+ 'apis' => [
+ ['description' => 'Request parameters changed, Error codes changed', 'api' => 'ConfirmFabricConsortiumMember'],
+ ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateFabricChannelMember'],
+ ],
+ 'createdAt' => '2022-08-05T08:54:22.000Z',
+ 'description' => '修改组织ID为必选参数,此前后端交易返回错误消息,现在从pop及文档上更新说明',
],
[
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'baas.cn-hangzhou.aliyuncs.com',
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'CreateAntChainKmsAccountNew'],
+ ],
+ 'createdAt' => '2022-06-01T09:47:51.000Z',
+ 'description' => '增加蚂蚁链创建托管账户功能',
],
[
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'baas.ap-southeast-1.aliyuncs.com',
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'ApproveFabricChaincodeDefinition'],
+ ['description' => 'OpenAPI offline', 'api' => 'CreateFabricChaincodePackage'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeFabricChaincodeDefinitionTask'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeFabricOrganizationChaincodePackage'],
+ ['description' => 'OpenAPI offline', 'api' => 'InstallFabricChaincodePackage'],
+ ['description' => 'OpenAPI offline', 'api' => 'SubmitFabricChaincodeDefinition'],
+ ['description' => 'OpenAPI offline', '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' => 'Blockchain as a Service'."\n",
+ 'ramCodes' => ['baas'],
+ 'ramLevel' => 'RESOURCE',
+ 'ramConditions' => [
+ [
+ 'name' => 'baas:EngineType',
+ 'schema' => ['type' => 'STRING', 'description' => ''],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'apiName' => 'DeleteAntChainConsortium',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'baas:DeleteAntChainConsortium',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricConsortiumChannels',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeConsortiumChannels',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteAntChainContractContent',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'baas:DeleteAntChainContractContent',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'InstallFabricChaincode',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:InstallFabricChaincode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricExplorer',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricExplorer',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ResetAntChainUserCertificate',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:ResetAntChainUserCertificate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainTransactionV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainTransactionV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricCandidateOrganizations',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricCandidateOrganizations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainsV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainsV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricChaincodeUploadPolicy',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricChaincodeUploadPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricInvitationCode',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricInvitationCode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateFabricChannel',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateFabricChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainBlockV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainBlockV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainTransaction',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainTransaction',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateFabricConsortiumMember',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateFabricConsortiumMember',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainMiniAppBrowserTransactionQRCodeNew',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMiniAppBrowserTransactionQRCodeNew',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateFabricOrganizationUser',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateFabricOrganizationUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateAntChainConsortium',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UpdateAntChainConsortium',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeEthereumDeletable',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeEthereumDeletable',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ConfirmFabricConsortiumMember',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:ConfirmFabricConsortiumMember',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsers',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainConsortiums',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainConsortiums',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainMiniAppBrowserTransactionQRCode',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMiniAppBrowserTransactionQRCode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ResetFabricOrganizationUserPassword',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:ResetFabricOrganizationUserPassword',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainBlock',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainBlock',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ApproveFabricChaincodeDefinition',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:ApproveFabricChaincodeDefinition',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'InstallFabricChaincodePackage',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:InstallFabricChaincodePackage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainDownloadPaths',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainDownloadPaths',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainLatestTransactionDigests',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainLatestTransactionDigests',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricOrganizationUsers',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationUsers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainInformationV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainInformationV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricConsortiumAdminStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumAdminStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainMembersV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMembersV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainTransactionReceiptV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainTransactionReceiptV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ResetAntChainCertificate',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:ResetAntChainCertificate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricConsortiumOrderers',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumOrderers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAntChainKmsAccountNew',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateAntChainKmsAccountNew',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UntagResources',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UntagResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainLatestBlocks',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainLatestBlocks',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainInformation',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainInformation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteAntChainContractProject',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'baas:DeleteAntChainContractProject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainContractProjectContentTreeV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainContractProjectContentTreeV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricOrganizationChaincodePackage',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationChaincodePackage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainContractProjects',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainContractProjects',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ApplyAntChainCertificateWithKeyAutoCreation',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:ApplyAntChainCertificateWithKeyAutoCreation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListTagResources',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:ListTagResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricConsortiumChaincodes',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumChaincodes',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteFabricChaincode',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'baas:DeleteFabricChaincode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricOrganizationMembers',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationMembers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateFabricChannelMember',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateFabricChannelMember',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateAntChainContractProject',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UpdateAntChainContractProject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AcceptFabricInvitation',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:AcceptFabricInvitation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeTasks',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeTasks',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainCertificateApplicationsV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainCertificateApplicationsV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainLatestTransactionDigestsV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainLatestTransactionDigestsV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'JoinFabricChannel',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:JoinFabricChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitFabricChaincodeDefinition',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:SubmitFabricChaincodeDefinition',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainLatestBlocksV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainLatestBlocksV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CheckFabricConsortiumDomain',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:CheckFabricConsortiumDomain',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricOrganizationDeletable',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationDeletable',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainAccounts',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainAccounts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SynchronizeFabricChaincode',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:SynchronizeFabricChaincode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainContractProjectContentTree',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainContractProjectContentTree',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateAntChainMember',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UpdateAntChainMember',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAntChainAccountWithKeyPairAutoCreation',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateAntChainAccountWithKeyPairAutoCreation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainQRCodeAuthorization',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainQRCodeAuthorization',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'TagResources',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:TagResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAntChainConsortium',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateAntChainConsortium',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricPeerLogs',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricPeerLogs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DownloadFabricOrganizationSDK',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DownloadFabricOrganizationSDK',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainNodesV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainNodesV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpgradeFabricChaincode',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UpgradeFabricChaincode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpgradeFabricChaincodeDefinition',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UpgradeFabricChaincodeDefinition',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricConsortiumMemberApproval',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumMemberApproval',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateAntChainQRCodeAuthorization',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UpdateAntChainQRCodeAuthorization',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainTransactionReceipt',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainTransactionReceipt',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainContractProjectsV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainContractProjectsV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAntChainContractContent',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateAntChainContractContent',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricOrganizationChannels',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationChannels',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricOrganizationSpecs',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationSpecs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UnfreezeAntChainAccount',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UnfreezeAntChainAccount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainAccountsV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainAccountsV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateFabricChaincode',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateFabricChaincode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainMembers',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMembers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainCertificateApplications',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainCertificateApplications',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricOrdererLogs',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrdererLogs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BatchAddAntChainMiniAppQRCodeAuthorizedUsers',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:BatchAddAntChainMiniAppQRCodeAuthorizedUsers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainMiniAppBrowserQRCodeAccessLog',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAccessLog',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAntChainContractProject',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateAntChainContractProject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChains',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChains',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteAntChainMiniAppQRCodeAuthorizedUser',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'baas:DeleteAntChainMiniAppQRCodeAuthorizedUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainTransactionStatisticsV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainTransactionStatisticsV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainDownloadPathsV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainDownloadPathsV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricChaincodeDefinitionTask',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeChaincodeDefinitionTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricOrganization',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganization',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricConsortiumDeletable',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumDeletable',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainNodes',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainNodes',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricOrganizationPeers',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationPeers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricConsortiums',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiums',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CheckFabricOrganizationDomain',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:CheckFabricOrganizationDomain',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateAntChainContractContent',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UpdateAntChainContractContent',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricConsortiumSpecs',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumSpecs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateFabricChaincodePackage',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateFabricChaincodePackage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricChannelMembers',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricChannelMembers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricConsortiumConfig',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricConsortiumMembers',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricConsortiumMembers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricInviter',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricInviter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricOrganizationChaincodes',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizationChaincodes',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateAntChain',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:UpdateAntChain',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAntChainAccount',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateAntChainAccount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateFabricConsortium',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateFabricConsortium',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainConsortiumsV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainConsortiumsV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'InstantiateFabricChaincode',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:InstantiateFabricChaincode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainTransactionStatistics',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainTransactionStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainMiniAppBrowserQRCodeAccessLogV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainMiniAppBrowserQRCodeAccessLogV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAntChainQRCodeAuthorizationV2',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeAntChainQRCodeAuthorizationV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ApplyAntChainCertificate',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:ApplyAntChainCertificate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CopyAntChainContractProject',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:CopyAntChainContractProject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateFabricOrganization',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'baas:CreateFabricOrganization',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'FreezeAntChainAccount',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'baas:FreezeAntChainAccount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFabricOrganizations',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'baas:DescribeFabricOrganizations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'BaaS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'resourceTypes' => [],
],
];