tccli 3.0.1004.1__py2.py3-none-any.whl → 3.0.1005.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/examples/cvm/v20170312/CreateLaunchTemplate.md +1 -1
- tccli/examples/cvm/v20170312/RenewInstances.md +2 -2
- tccli/examples/cvm/v20170312/ResetInstancesPassword.md +1 -1
- tccli/examples/cvm/v20170312/StopInstances.md +1 -1
- tccli/examples/cwp/v20180228/DescribeMachineInfo.md +20 -20
- tccli/examples/cynosdb/v20190107/CreateClusterDatabase.md +9 -9
- tccli/examples/cynosdb/v20190107/DescribeClusterParams.md +18 -28
- tccli/examples/cynosdb/v20190107/DescribeClusters.md +70 -77
- tccli/examples/cynosdb/v20190107/DescribeZones.md +27 -29
- tccli/examples/cynosdb/v20190107/ModifyAccountHost.md +5 -5
- tccli/examples/cynosdb/v20190107/ModifyProxyDesc.md +4 -4
- tccli/examples/cynosdb/v20190107/ReloadBalanceProxyNode.md +5 -5
- tccli/examples/essbasic/v20210526/OperateChannelTemplate.md +22 -22
- tccli/examples/hai/v20230812/DescribeApplications.md +2 -1
- tccli/examples/sqlserver/v20180328/BalanceReadOnlyGroup.md +21 -0
- tccli/examples/sqlserver/v20180328/DeleteRestoreTask.md +21 -0
- tccli/examples/sqlserver/v20180328/DescribeAccountPrivilegeByDB.md +31 -0
- tccli/examples/sqlserver/v20180328/DescribeCollationTimeZone.md +24 -0
- tccli/examples/sqlserver/v20180328/DescribeCrossRegions.md +27 -0
- tccli/examples/sqlserver/v20180328/DescribeDBPrivilegeByAccount.md +46 -0
- tccli/examples/sqlserver/v20180328/DescribeDBRestoreTime.md +31 -0
- tccli/examples/sqlserver/v20180328/DescribeDatabaseNames.md +27 -0
- tccli/examples/sqlserver/v20180328/DescribeInquiryPriceParameter.md +30 -0
- tccli/examples/sqlserver/v20180328/DescribeInstanceTasks.md +36 -0
- tccli/examples/sqlserver/v20180328/DescribeInstanceTradeParameter.md +37 -0
- tccli/examples/sqlserver/v20180328/DescribeProductSpec.md +81 -0
- tccli/examples/sqlserver/v20180328/DescribeReadOnlyGroupAutoWeight.md +60 -0
- tccli/examples/sqlserver/v20180328/DescribeRestoreTask.md +46 -0
- tccli/examples/sqlserver/v20180328/DescribeSpecSellStatus.md +124 -0
- tccli/examples/sqlserver/v20180328/DescribeUpgradeInstanceCheck.md +71 -0
- tccli/examples/sqlserver/v20180328/ModifyCloseWanIp.md +21 -0
- tccli/examples/sqlserver/v20180328/ModifyDBInstanceNote.md +21 -0
- tccli/examples/sqlserver/v20180328/ModifyOpenWanIp.md +21 -0
- tccli/examples/sqlserver/v20180328/ModifyPublishSubscribe.md +51 -0
- tccli/examples/tbaas/v20180416/DescribeFabricBlock.md +37 -0
- tccli/examples/tbaas/v20180416/DescribeFabricTransaction.md +33 -0
- tccli/examples/tbaas/v20180416/InvokeFabricChaincode.md +28 -0
- tccli/examples/tbaas/v20180416/QueryFabricChaincode.md +27 -0
- tccli/examples/tcss/v20201101/AddEditImageAutoAuthorizedRule.md +1 -1
- tccli/examples/tcss/v20201101/CreateAssetImageScanSetting.md +4 -4
- tccli/examples/tcss/v20201101/DescribeAssetImageDetail.md +28 -27
- tccli/examples/tcss/v20201101/DescribeImageAutoAuthorizedRule.md +2 -2
- tccli/examples/tcss/v20201101/RenewImageAuthorizeState.md +2 -2
- tccli/examples/tke/v20180525/DescribeClusterEndpoints.md +1 -0
- tccli/examples/tke/v20180525/DescribeClusterExtraArgs.md +31 -0
- tccli/examples/tke/v20180525/DescribeExternalNodeSupportConfig.md +81 -0
- tccli/examples/tke/v20180525/DescribeIPAMD.md +26 -0
- tccli/examples/trocket/v20230308/ImportSourceClusterConsumerGroups.md +23 -0
- tccli/examples/trocket/v20230308/ImportSourceClusterTopics.md +25 -0
- tccli/examples/wedata/v20210820/DescribeApproveList.md +43 -161
- tccli/examples/wedata/v20210820/DescribeApproveTypeList.md +64 -0
- tccli/services/__init__.py +1 -5
- tccli/services/billing/v20180709/api.json +10 -10
- tccli/services/cdb/v20170320/api.json +10 -1
- tccli/services/cloudstudio/cloudstudio_client.py +30 -1042
- tccli/services/cvm/v20170312/api.json +68 -68
- tccli/services/cvm/v20170312/examples.json +4 -4
- tccli/services/cwp/v20180228/api.json +20 -0
- tccli/services/cwp/v20180228/examples.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +10 -11
- tccli/services/cynosdb/v20190107/examples.json +14 -14
- tccli/services/dsgc/v20190723/api.json +48 -41
- tccli/services/ess/v20201111/api.json +9 -9
- tccli/services/essbasic/v20210526/api.json +10 -10
- tccli/services/essbasic/v20210526/examples.json +6 -6
- tccli/services/hai/v20230812/api.json +69 -69
- tccli/services/hai/v20230812/examples.json +1 -1
- tccli/services/sqlserver/sqlserver_client.py +1418 -358
- tccli/services/sqlserver/v20180328/api.json +2426 -172
- tccli/services/sqlserver/v20180328/examples.json +166 -0
- tccli/services/tbaas/tbaas_client.py +273 -61
- tccli/services/tbaas/v20180416/api.json +539 -0
- tccli/services/tbaas/v20180416/examples.json +32 -0
- tccli/services/tchd/v20230306/api.json +1 -1
- tccli/services/tcss/v20201101/api.json +443 -87
- tccli/services/tcss/v20201101/examples.json +7 -7
- tccli/services/tdmq/v20200217/api.json +9 -9
- tccli/services/tke/tke_client.py +159 -0
- tccli/services/tke/v20180525/api.json +375 -0
- tccli/services/tke/v20180525/examples.json +25 -1
- tccli/services/trocket/trocket_client.py +171 -65
- tccli/services/trocket/v20230308/api.json +230 -0
- tccli/services/trocket/v20230308/examples.json +16 -0
- tccli/services/tse/v20201207/api.json +57 -35
- tccli/services/vrs/v20200824/api.json +10 -0
- tccli/services/waf/v20180125/api.json +201 -54
- tccli/services/wedata/v20210820/api.json +144 -14
- tccli/services/wedata/v20210820/examples.json +16 -2
- tccli/services/wedata/wedata_client.py +53 -0
- tccli/services/weilingwith/v20230427/api.json +13 -13
- {tccli-3.0.1004.1.dist-info → tccli-3.0.1005.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1004.1.dist-info → tccli-3.0.1005.1.dist-info}/RECORD +96 -72
- tccli/services/casb/__init__.py +0 -4
- tccli/services/casb/casb_client.py +0 -194
- tccli/services/casb/v20200507/api.json +0 -110
- tccli/services/casb/v20200507/examples.json +0 -19
- tccli/services/cloudstudio/v20210524/api.json +0 -2604
- tccli/services/cloudstudio/v20210524/examples.json +0 -205
- {tccli-3.0.1004.1.dist-info → tccli-3.0.1005.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1004.1.dist-info → tccli-3.0.1005.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1004.1.dist-info → tccli-3.0.1005.1.dist-info}/license_files/LICENSE +0 -0
@@ -14,6 +14,20 @@
|
|
14
14
|
"output": "ApplyUserCertResponse",
|
15
15
|
"status": "online"
|
16
16
|
},
|
17
|
+
"DescribeFabricBlock": {
|
18
|
+
"document": "获取Fabric某区块的详细信息",
|
19
|
+
"input": "DescribeFabricBlockRequest",
|
20
|
+
"name": "获取Fabric某区块的详细信息",
|
21
|
+
"output": "DescribeFabricBlockResponse",
|
22
|
+
"status": "online"
|
23
|
+
},
|
24
|
+
"DescribeFabricTransaction": {
|
25
|
+
"document": "获取Fabric交易的详细信息",
|
26
|
+
"input": "DescribeFabricTransactionRequest",
|
27
|
+
"name": "获取Fabric交易的详细信息",
|
28
|
+
"output": "DescribeFabricTransactionResponse",
|
29
|
+
"status": "online"
|
30
|
+
},
|
17
31
|
"DownloadUserCert": {
|
18
32
|
"document": "下载用户证书",
|
19
33
|
"input": "DownloadUserCertRequest",
|
@@ -91,6 +105,13 @@
|
|
91
105
|
"output": "InvokeChainMakerDemoContractResponse",
|
92
106
|
"status": "online"
|
93
107
|
},
|
108
|
+
"InvokeFabricChaincode": {
|
109
|
+
"document": "调用Fabric用户合约执行交易",
|
110
|
+
"input": "InvokeFabricChaincodeRequest",
|
111
|
+
"name": "调用Fabric用户合约执行交易",
|
112
|
+
"output": "InvokeFabricChaincodeResponse",
|
113
|
+
"status": "online"
|
114
|
+
},
|
94
115
|
"Query": {
|
95
116
|
"document": "查询交易",
|
96
117
|
"input": "QueryRequest",
|
@@ -140,6 +161,13 @@
|
|
140
161
|
"output": "QueryChainMakerTransactionResponse",
|
141
162
|
"status": "online"
|
142
163
|
},
|
164
|
+
"QueryFabricChaincode": {
|
165
|
+
"document": "调用Fabric用户合约查询",
|
166
|
+
"input": "QueryFabricChaincodeRequest",
|
167
|
+
"name": "调用Fabric用户合约查询",
|
168
|
+
"output": "QueryFabricChaincodeResponse",
|
169
|
+
"status": "online"
|
170
|
+
},
|
143
171
|
"SrvInvoke": {
|
144
172
|
"document": "trustsql服务统一接口",
|
145
173
|
"input": "SrvInvokeRequest",
|
@@ -526,6 +554,256 @@
|
|
526
554
|
],
|
527
555
|
"usage": "out"
|
528
556
|
},
|
557
|
+
"DescribeFabricBlockRequest": {
|
558
|
+
"document": "DescribeFabricBlock请求参数结构体",
|
559
|
+
"members": [
|
560
|
+
{
|
561
|
+
"disabled": false,
|
562
|
+
"document": "网络ID,可在区块链网络详情或列表中获取",
|
563
|
+
"example": "fabric-65z42qi150",
|
564
|
+
"member": "string",
|
565
|
+
"name": "ClusterId",
|
566
|
+
"required": true,
|
567
|
+
"type": "string"
|
568
|
+
},
|
569
|
+
{
|
570
|
+
"disabled": false,
|
571
|
+
"document": "通道ID,可在通道列表或通道详情获取",
|
572
|
+
"example": "channel-9xej4d",
|
573
|
+
"member": "string",
|
574
|
+
"name": "ChannelId",
|
575
|
+
"required": true,
|
576
|
+
"type": "string"
|
577
|
+
},
|
578
|
+
{
|
579
|
+
"disabled": false,
|
580
|
+
"document": "区块高度,从0开始",
|
581
|
+
"example": "4",
|
582
|
+
"member": "int64",
|
583
|
+
"name": "BlockHeight",
|
584
|
+
"required": true,
|
585
|
+
"type": "int"
|
586
|
+
}
|
587
|
+
],
|
588
|
+
"type": "object"
|
589
|
+
},
|
590
|
+
"DescribeFabricBlockResponse": {
|
591
|
+
"document": "DescribeFabricBlock返回参数结构体",
|
592
|
+
"members": [
|
593
|
+
{
|
594
|
+
"disabled": false,
|
595
|
+
"document": "区块高度",
|
596
|
+
"example": "1024",
|
597
|
+
"member": "int64",
|
598
|
+
"name": "BlockHeight",
|
599
|
+
"output_required": false,
|
600
|
+
"type": "int",
|
601
|
+
"value_allowed_null": false
|
602
|
+
},
|
603
|
+
{
|
604
|
+
"disabled": false,
|
605
|
+
"document": "区块Hash",
|
606
|
+
"example": "abc",
|
607
|
+
"member": "string",
|
608
|
+
"name": "BlockHash",
|
609
|
+
"output_required": false,
|
610
|
+
"type": "string",
|
611
|
+
"value_allowed_null": false
|
612
|
+
},
|
613
|
+
{
|
614
|
+
"disabled": false,
|
615
|
+
"document": "前置区块Hash",
|
616
|
+
"example": "abc",
|
617
|
+
"member": "string",
|
618
|
+
"name": "PreBlockHash",
|
619
|
+
"output_required": false,
|
620
|
+
"type": "string",
|
621
|
+
"value_allowed_null": false
|
622
|
+
},
|
623
|
+
{
|
624
|
+
"disabled": false,
|
625
|
+
"document": "区块中交易数量",
|
626
|
+
"example": "100",
|
627
|
+
"member": "int64",
|
628
|
+
"name": "TxCount",
|
629
|
+
"output_required": false,
|
630
|
+
"type": "int",
|
631
|
+
"value_allowed_null": false
|
632
|
+
},
|
633
|
+
{
|
634
|
+
"disabled": false,
|
635
|
+
"document": "区块中交易列表",
|
636
|
+
"example": "[]",
|
637
|
+
"member": "Transaction",
|
638
|
+
"name": "TransactionList",
|
639
|
+
"output_required": false,
|
640
|
+
"type": "list",
|
641
|
+
"value_allowed_null": false
|
642
|
+
},
|
643
|
+
{
|
644
|
+
"disabled": false,
|
645
|
+
"document": "创建时间戳",
|
646
|
+
"example": "无",
|
647
|
+
"member": "string",
|
648
|
+
"name": "CreateTimestamp",
|
649
|
+
"output_required": false,
|
650
|
+
"type": "string",
|
651
|
+
"value_allowed_null": false
|
652
|
+
},
|
653
|
+
{
|
654
|
+
"disabled": false,
|
655
|
+
"document": "提案组织",
|
656
|
+
"example": "无",
|
657
|
+
"member": "string",
|
658
|
+
"name": "ProposerOrg",
|
659
|
+
"output_required": false,
|
660
|
+
"type": "string",
|
661
|
+
"value_allowed_null": false
|
662
|
+
},
|
663
|
+
{
|
664
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
665
|
+
"member": "string",
|
666
|
+
"name": "RequestId",
|
667
|
+
"type": "string"
|
668
|
+
}
|
669
|
+
],
|
670
|
+
"type": "object"
|
671
|
+
},
|
672
|
+
"DescribeFabricTransactionRequest": {
|
673
|
+
"document": "DescribeFabricTransaction请求参数结构体",
|
674
|
+
"members": [
|
675
|
+
{
|
676
|
+
"disabled": false,
|
677
|
+
"document": "网络ID,可在区块链网络详情或列表中获取",
|
678
|
+
"example": "fabric-65z42qi150",
|
679
|
+
"member": "string",
|
680
|
+
"name": "ClusterId",
|
681
|
+
"required": true,
|
682
|
+
"type": "string"
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"disabled": false,
|
686
|
+
"document": "通道ID,可在通道列表或通道详情获取",
|
687
|
+
"example": "channel-9xej4d",
|
688
|
+
"member": "string",
|
689
|
+
"name": "ChannelId",
|
690
|
+
"required": true,
|
691
|
+
"type": "string"
|
692
|
+
},
|
693
|
+
{
|
694
|
+
"disabled": false,
|
695
|
+
"document": "交易ID",
|
696
|
+
"example": "03389f4a5af1883347ecdb15471e70abf3a8e6cf5b6648dc789674af7930e229",
|
697
|
+
"member": "string",
|
698
|
+
"name": "TxId",
|
699
|
+
"required": true,
|
700
|
+
"type": "string"
|
701
|
+
}
|
702
|
+
],
|
703
|
+
"type": "object"
|
704
|
+
},
|
705
|
+
"DescribeFabricTransactionResponse": {
|
706
|
+
"document": "DescribeFabricTransaction返回参数结构体",
|
707
|
+
"members": [
|
708
|
+
{
|
709
|
+
"disabled": false,
|
710
|
+
"document": "交易ID",
|
711
|
+
"example": "03389f4a5af1883347ecdb15471e70abf3a8e6cf5b6648dc789674af7930e229",
|
712
|
+
"member": "string",
|
713
|
+
"name": "TxId",
|
714
|
+
"output_required": false,
|
715
|
+
"type": "string",
|
716
|
+
"value_allowed_null": false
|
717
|
+
},
|
718
|
+
{
|
719
|
+
"disabled": false,
|
720
|
+
"document": "交易Hash",
|
721
|
+
"example": "8e5b978d33cfbc0510b4e60406f8481f8ec00e390131d5b6ea6d38604e1bcb46",
|
722
|
+
"member": "string",
|
723
|
+
"name": "TxHash",
|
724
|
+
"output_required": false,
|
725
|
+
"type": "string",
|
726
|
+
"value_allowed_null": false
|
727
|
+
},
|
728
|
+
{
|
729
|
+
"disabled": false,
|
730
|
+
"document": "交易状态",
|
731
|
+
"example": "VALID",
|
732
|
+
"member": "string",
|
733
|
+
"name": "TxStatus",
|
734
|
+
"output_required": false,
|
735
|
+
"type": "string",
|
736
|
+
"value_allowed_null": false
|
737
|
+
},
|
738
|
+
{
|
739
|
+
"disabled": false,
|
740
|
+
"document": "参与的组织列表",
|
741
|
+
"example": "[\"\"org-xxxx.fabric-ian2bqtylk\"\"]",
|
742
|
+
"member": "string",
|
743
|
+
"name": "JoinOrgList",
|
744
|
+
"output_required": false,
|
745
|
+
"type": "list",
|
746
|
+
"value_allowed_null": false
|
747
|
+
},
|
748
|
+
{
|
749
|
+
"disabled": false,
|
750
|
+
"document": "交易发送者",
|
751
|
+
"example": "org-xxxx.fabric-ian2bqtylk",
|
752
|
+
"member": "string",
|
753
|
+
"name": "Sender",
|
754
|
+
"output_required": false,
|
755
|
+
"type": "string",
|
756
|
+
"value_allowed_null": false
|
757
|
+
},
|
758
|
+
{
|
759
|
+
"disabled": false,
|
760
|
+
"document": "创建时间",
|
761
|
+
"example": "2023-07-07 10:10:10",
|
762
|
+
"member": "string",
|
763
|
+
"name": "CreateTime",
|
764
|
+
"output_required": false,
|
765
|
+
"type": "string",
|
766
|
+
"value_allowed_null": false
|
767
|
+
},
|
768
|
+
{
|
769
|
+
"disabled": false,
|
770
|
+
"document": "区块高度",
|
771
|
+
"example": "1024",
|
772
|
+
"member": "int64",
|
773
|
+
"name": "BlockHeight",
|
774
|
+
"output_required": false,
|
775
|
+
"type": "int",
|
776
|
+
"value_allowed_null": false
|
777
|
+
},
|
778
|
+
{
|
779
|
+
"disabled": false,
|
780
|
+
"document": "交易所属合约",
|
781
|
+
"example": "abc",
|
782
|
+
"member": "string",
|
783
|
+
"name": "ChaincodeName",
|
784
|
+
"output_required": false,
|
785
|
+
"type": "string",
|
786
|
+
"value_allowed_null": false
|
787
|
+
},
|
788
|
+
{
|
789
|
+
"disabled": false,
|
790
|
+
"document": "交易数据,base64编码,解码后为json化的字符串",
|
791
|
+
"example": "eyJjaGFpbmNvZGVfc3BlYyI6eyJjaGFpbmNvZGVfaWQiOnsibmFtZSI6Il9saWZlY3ljbGUiLCJwYXRoIjoiIiwidmVyc2lvbiI6IiJ9LCJpbnB1dCI6eyJhcmdzIjpbIkNvbW1pdENoYWluY29kZURlZmluaXRpb24iLCJcdTAwMDhcdTAwMDFcdTAwMTJcdTAwMDNteWNcdTAwMWFcdTAwMDR2MS4wXCJcdTAwMDRlc2NjKlx1MDAwNHZzY2MyMVxuL1x1MDAxMlx1MDAwOFx1MDAxMlx1MDAwNlx1MDAwOFx1MDAwMVx1MDAxMlx1MDAwMlx1MDAwOFx1MDAwMFx1MDAxYSNcdTAwMTIhXG5cdTAwMWZvcmctMjUxMDA1NzQ2LmZhYnJpYy02NXo0MnFpMTUwOlx1MDAwMCJdLCJkZWNvcmF0aW9ucyI6e30sImlzX2luaXQiOmZhbHNlfSwidGltZW91dCI6MCwidHlwZSI6IlVOREVGSU5FRCJ9fQ==",
|
792
|
+
"member": "string",
|
793
|
+
"name": "TransactionData",
|
794
|
+
"output_required": false,
|
795
|
+
"type": "string",
|
796
|
+
"value_allowed_null": false
|
797
|
+
},
|
798
|
+
{
|
799
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
800
|
+
"member": "string",
|
801
|
+
"name": "RequestId",
|
802
|
+
"type": "string"
|
803
|
+
}
|
804
|
+
],
|
805
|
+
"type": "object"
|
806
|
+
},
|
529
807
|
"DownloadUserCertRequest": {
|
530
808
|
"document": "DownloadUserCert请求参数结构体",
|
531
809
|
"members": [
|
@@ -1797,6 +2075,108 @@
|
|
1797
2075
|
],
|
1798
2076
|
"type": "object"
|
1799
2077
|
},
|
2078
|
+
"InvokeFabricChaincodeRequest": {
|
2079
|
+
"document": "InvokeFabricChaincode请求参数结构体",
|
2080
|
+
"members": [
|
2081
|
+
{
|
2082
|
+
"disabled": false,
|
2083
|
+
"document": "网络ID,可在区块链网络详情获取",
|
2084
|
+
"example": "fabric-65z42qi150",
|
2085
|
+
"member": "string",
|
2086
|
+
"name": "ClusterId",
|
2087
|
+
"required": true,
|
2088
|
+
"type": "string"
|
2089
|
+
},
|
2090
|
+
{
|
2091
|
+
"disabled": false,
|
2092
|
+
"document": "通道ID,可在通道列表或通道详情获取",
|
2093
|
+
"example": "channel-9xej4d",
|
2094
|
+
"member": "string",
|
2095
|
+
"name": "ChannelId",
|
2096
|
+
"required": true,
|
2097
|
+
"type": "string"
|
2098
|
+
},
|
2099
|
+
{
|
2100
|
+
"disabled": false,
|
2101
|
+
"document": "合约名称,可在合约列表或合约详情获取",
|
2102
|
+
"example": "test",
|
2103
|
+
"member": "string",
|
2104
|
+
"name": "ChaincodeName",
|
2105
|
+
"required": true,
|
2106
|
+
"type": "string"
|
2107
|
+
},
|
2108
|
+
{
|
2109
|
+
"disabled": false,
|
2110
|
+
"document": "合约方法",
|
2111
|
+
"example": "Set",
|
2112
|
+
"member": "string",
|
2113
|
+
"name": "FuncName",
|
2114
|
+
"required": true,
|
2115
|
+
"type": "string"
|
2116
|
+
},
|
2117
|
+
{
|
2118
|
+
"disabled": false,
|
2119
|
+
"document": "合约方法入参",
|
2120
|
+
"example": "[\"key\",\"value\"]",
|
2121
|
+
"member": "string",
|
2122
|
+
"name": "FuncParam",
|
2123
|
+
"required": false,
|
2124
|
+
"type": "list"
|
2125
|
+
},
|
2126
|
+
{
|
2127
|
+
"disabled": false,
|
2128
|
+
"document": "是否异步执行,如果异步执行,可使用返回值中的交易TxID查询执行结果",
|
2129
|
+
"example": "false",
|
2130
|
+
"member": "bool",
|
2131
|
+
"name": "WithAsyncResult",
|
2132
|
+
"required": false,
|
2133
|
+
"type": "bool"
|
2134
|
+
}
|
2135
|
+
],
|
2136
|
+
"type": "object"
|
2137
|
+
},
|
2138
|
+
"InvokeFabricChaincodeResponse": {
|
2139
|
+
"document": "InvokeFabricChaincode返回参数结构体",
|
2140
|
+
"members": [
|
2141
|
+
{
|
2142
|
+
"disabled": false,
|
2143
|
+
"document": "交易ID",
|
2144
|
+
"example": "03389f4a5af1883347ecdb15471e70abf3a8e6cf5b6648dc789674af7930e229",
|
2145
|
+
"member": "string",
|
2146
|
+
"name": "TxId",
|
2147
|
+
"output_required": true,
|
2148
|
+
"type": "string",
|
2149
|
+
"value_allowed_null": false
|
2150
|
+
},
|
2151
|
+
{
|
2152
|
+
"disabled": false,
|
2153
|
+
"document": "交易状态",
|
2154
|
+
"example": "VALID",
|
2155
|
+
"member": "string",
|
2156
|
+
"name": "TxStatus",
|
2157
|
+
"output_required": false,
|
2158
|
+
"type": "string",
|
2159
|
+
"value_allowed_null": false
|
2160
|
+
},
|
2161
|
+
{
|
2162
|
+
"disabled": false,
|
2163
|
+
"document": "交易结果",
|
2164
|
+
"example": "value",
|
2165
|
+
"member": "string",
|
2166
|
+
"name": "TxResult",
|
2167
|
+
"output_required": false,
|
2168
|
+
"type": "string",
|
2169
|
+
"value_allowed_null": false
|
2170
|
+
},
|
2171
|
+
{
|
2172
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
2173
|
+
"member": "string",
|
2174
|
+
"name": "RequestId",
|
2175
|
+
"type": "string"
|
2176
|
+
}
|
2177
|
+
],
|
2178
|
+
"type": "object"
|
2179
|
+
},
|
1800
2180
|
"InvokeRequest": {
|
1801
2181
|
"document": "Invoke请求参数结构体",
|
1802
2182
|
"members": [
|
@@ -2365,6 +2745,99 @@
|
|
2365
2745
|
],
|
2366
2746
|
"type": "object"
|
2367
2747
|
},
|
2748
|
+
"QueryFabricChaincodeRequest": {
|
2749
|
+
"document": "QueryFabricChaincode请求参数结构体",
|
2750
|
+
"members": [
|
2751
|
+
{
|
2752
|
+
"disabled": false,
|
2753
|
+
"document": "网络ID,可在区块链网络详情获取",
|
2754
|
+
"example": "fabric-65z42qi150",
|
2755
|
+
"member": "string",
|
2756
|
+
"name": "ClusterId",
|
2757
|
+
"required": true,
|
2758
|
+
"type": "string"
|
2759
|
+
},
|
2760
|
+
{
|
2761
|
+
"disabled": false,
|
2762
|
+
"document": "通道ID,可在通道列表或通道详情获取",
|
2763
|
+
"example": "channel-9xej4d",
|
2764
|
+
"member": "string",
|
2765
|
+
"name": "ChannelId",
|
2766
|
+
"required": true,
|
2767
|
+
"type": "string"
|
2768
|
+
},
|
2769
|
+
{
|
2770
|
+
"disabled": false,
|
2771
|
+
"document": "合约名称,可在合约列表或合约详情获取",
|
2772
|
+
"example": "test",
|
2773
|
+
"member": "string",
|
2774
|
+
"name": "ChaincodeName",
|
2775
|
+
"required": true,
|
2776
|
+
"type": "string"
|
2777
|
+
},
|
2778
|
+
{
|
2779
|
+
"disabled": false,
|
2780
|
+
"document": "合约方法",
|
2781
|
+
"example": "Get",
|
2782
|
+
"member": "string",
|
2783
|
+
"name": "FuncName",
|
2784
|
+
"required": true,
|
2785
|
+
"type": "string"
|
2786
|
+
},
|
2787
|
+
{
|
2788
|
+
"disabled": false,
|
2789
|
+
"document": "合约方法入参",
|
2790
|
+
"example": "[\"key\"]",
|
2791
|
+
"member": "string",
|
2792
|
+
"name": "FuncParam",
|
2793
|
+
"required": false,
|
2794
|
+
"type": "list"
|
2795
|
+
}
|
2796
|
+
],
|
2797
|
+
"type": "object"
|
2798
|
+
},
|
2799
|
+
"QueryFabricChaincodeResponse": {
|
2800
|
+
"document": "QueryFabricChaincode返回参数结构体",
|
2801
|
+
"members": [
|
2802
|
+
{
|
2803
|
+
"disabled": false,
|
2804
|
+
"document": "交易ID",
|
2805
|
+
"example": "03389f4a5af1883347ecdb15471e70abf3a8e6cf5b6648dc789674af7930e229",
|
2806
|
+
"member": "string",
|
2807
|
+
"name": "TxId",
|
2808
|
+
"output_required": false,
|
2809
|
+
"type": "string",
|
2810
|
+
"value_allowed_null": false
|
2811
|
+
},
|
2812
|
+
{
|
2813
|
+
"disabled": false,
|
2814
|
+
"document": "交易状态",
|
2815
|
+
"example": "VALID",
|
2816
|
+
"member": "string",
|
2817
|
+
"name": "TxStatus",
|
2818
|
+
"output_required": false,
|
2819
|
+
"type": "string",
|
2820
|
+
"value_allowed_null": false
|
2821
|
+
},
|
2822
|
+
{
|
2823
|
+
"disabled": false,
|
2824
|
+
"document": "交易结果",
|
2825
|
+
"example": "value",
|
2826
|
+
"member": "string",
|
2827
|
+
"name": "TxResult",
|
2828
|
+
"output_required": false,
|
2829
|
+
"type": "string",
|
2830
|
+
"value_allowed_null": false
|
2831
|
+
},
|
2832
|
+
{
|
2833
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
2834
|
+
"member": "string",
|
2835
|
+
"name": "RequestId",
|
2836
|
+
"type": "string"
|
2837
|
+
}
|
2838
|
+
],
|
2839
|
+
"type": "object"
|
2840
|
+
},
|
2368
2841
|
"QueryRequest": {
|
2369
2842
|
"document": "Query请求参数结构体",
|
2370
2843
|
"members": [
|
@@ -2572,6 +3045,72 @@
|
|
2572
3045
|
],
|
2573
3046
|
"type": "object"
|
2574
3047
|
},
|
3048
|
+
"Transaction": {
|
3049
|
+
"document": "交易显示概述信息",
|
3050
|
+
"members": [
|
3051
|
+
{
|
3052
|
+
"disabled": false,
|
3053
|
+
"document": "交易ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
3054
|
+
"example": "abc",
|
3055
|
+
"member": "string",
|
3056
|
+
"name": "TxId",
|
3057
|
+
"output_required": false,
|
3058
|
+
"type": "string",
|
3059
|
+
"value_allowed_null": true
|
3060
|
+
},
|
3061
|
+
{
|
3062
|
+
"disabled": false,
|
3063
|
+
"document": "合约名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
3064
|
+
"example": "save",
|
3065
|
+
"member": "string",
|
3066
|
+
"name": "ChaincodeName",
|
3067
|
+
"output_required": false,
|
3068
|
+
"type": "string",
|
3069
|
+
"value_allowed_null": true
|
3070
|
+
},
|
3071
|
+
{
|
3072
|
+
"disabled": false,
|
3073
|
+
"document": "交易发送者\n注意:此字段可能返回 null,表示取不到有效值。",
|
3074
|
+
"example": "zhangsan",
|
3075
|
+
"member": "string",
|
3076
|
+
"name": "Sender",
|
3077
|
+
"output_required": false,
|
3078
|
+
"type": "string",
|
3079
|
+
"value_allowed_null": true
|
3080
|
+
},
|
3081
|
+
{
|
3082
|
+
"disabled": false,
|
3083
|
+
"document": "交易创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
3084
|
+
"example": "2023-07-07 10:10:10",
|
3085
|
+
"member": "string",
|
3086
|
+
"name": "CreateTime",
|
3087
|
+
"output_required": false,
|
3088
|
+
"type": "string",
|
3089
|
+
"value_allowed_null": true
|
3090
|
+
},
|
3091
|
+
{
|
3092
|
+
"disabled": false,
|
3093
|
+
"document": "交易所在区块高度\n注意:此字段可能返回 null,表示取不到有效值。",
|
3094
|
+
"example": "1024",
|
3095
|
+
"member": "int64",
|
3096
|
+
"name": "BlockHeight",
|
3097
|
+
"output_required": false,
|
3098
|
+
"type": "int",
|
3099
|
+
"value_allowed_null": true
|
3100
|
+
},
|
3101
|
+
{
|
3102
|
+
"disabled": false,
|
3103
|
+
"document": "交易在区块中的序号\n注意:此字段可能返回 null,表示取不到有效值。",
|
3104
|
+
"example": "0",
|
3105
|
+
"member": "int64",
|
3106
|
+
"name": "TxIndex",
|
3107
|
+
"output_required": false,
|
3108
|
+
"type": "int",
|
3109
|
+
"value_allowed_null": true
|
3110
|
+
}
|
3111
|
+
],
|
3112
|
+
"usage": "out"
|
3113
|
+
},
|
2575
3114
|
"TransactionItem": {
|
2576
3115
|
"document": "交易列表项信息",
|
2577
3116
|
"members": [
|
@@ -16,6 +16,22 @@
|
|
16
16
|
"title": "用户证书申请"
|
17
17
|
}
|
18
18
|
],
|
19
|
+
"DescribeFabricBlock": [
|
20
|
+
{
|
21
|
+
"document": "DescribeFabricBlock",
|
22
|
+
"input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFabricBlock\n<公共请求参数>\n\n{\n \"ClusterId\": \"fabric-65z42qi150\",\n \"ChannelId\": \"channel-9xej4d\",\n \"BlockHeight\": 4\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"BlockHash\": \"e0421ecc20340425a2cf01808469b2523651f8100da92a0287b3769115e57370\",\n \"BlockHeight\": 4,\n \"CreateTimestamp\": \"2023-08-05 07:44:04\",\n \"PreBlockHash\": \"f69b2b5a1884e5bbb077a3025378e2210b83bbada23b5c17045b0bf537a53bd0\",\n \"ProposerOrg\": \"区块链测试机构pettychen\",\n \"RequestId\": \"a6288649-01c0-4d8f-bdd4-ba02163d0721\",\n \"TransactionList\": [\n {\n \"BlockHeight\": 4,\n \"ChaincodeName\": \"_lifecycle\",\n \"CreateTime\": \"2023-08-05 15:44:04\",\n \"Sender\": \"区块链测试机构pettychen\",\n \"TxId\": \"03389f4a5af1883347ecdb15471e70abf3a8e6cf5b6648dc789674af7930e229\"\n }\n ],\n \"TxCount\": 1\n }\n}",
|
24
|
+
"title": "DescribeFabricBlock"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"DescribeFabricTransaction": [
|
28
|
+
{
|
29
|
+
"document": "DescribeFabricTransaction",
|
30
|
+
"input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFabricTransaction\n<公共请求参数>\n\n{\n \"ClusterId\": \"fabric-65z42qi150\",\n \"ChannelId\": \"channel-9xej4d\",\n \"TxId\": \"03389f4a5af1883347ecdb15471e70abf3a8e6cf5b6648dc789674af7930e229\"\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"BlockHeight\": 4,\n \"ChaincodeName\": \"_lifecycle\",\n \"CreateTime\": \"2023-08-05 15:44:04\",\n \"JoinOrgList\": [\n \"org-xxxx.fabric-ian2bqtylk\"\n ],\n \"RequestId\": \"b5221353-8f20-4547-8260-c550b4b0175c\",\n \"Sender\": \"org-xxxx.fabric-ian2bqtylk\",\n \"TransactionData\": \"eyJjaGFpbmNvZGVfc3BlYyI6eyJjaGFpbmNvZGVfaWQiOnsibmFtZSI6Il9saWZlY3ljbGUiLCJwYXRoIjoiIiwidmVyc2lvbiI6IiJ9LCJpbnB1dCI6eyJhcmdzIjpbIkNvbW1pdENoYWluY29kZURlZmluaXRpb24iLCJcdTAwMDhcdTAwMDFcdTAwMTJcdTAwMDNteWNcdTAwMWFcdTAwMDR2MS4wXCJcdTAwMDRlc2NjKlx1MDAwNHZzY2MyMVxuL1x1MDAxMlx1MDAwOFx1MDAxMlx1MDAwNlx1MDAwOFx1MDAwMVx1MDAxMlx1MDAwMlx1MDAwOFx1MDAwMFx1MDAxYSNcdTAwMTIhXG5cdTAwMWZvcmctMjUxMDA1NzQ2LmZhYnJpYy02NXo0MnFpMTUwOlx1MDAwMCJdLCJkZWNvcmF0aW9ucyI6e30sImlzX2luaXQiOmZhbHNlfSwidGltZW91dCI6MCwidHlwZSI6IlVOREVGSU5FRCJ9fQ==\",\n \"TxHash\": \"8e5b978d33cfbc0510b4e60406f8481f8ec00e390131d5b6ea6d38604e1bcb46\",\n \"TxId\": \"03389f4a5af1883347ecdb15471e70abf3a8e6cf5b6648dc789674af7930e229\",\n \"TxStatus\": \"VALID\"\n }\n}",
|
32
|
+
"title": "DescribeFabricTransaction"
|
33
|
+
}
|
34
|
+
],
|
19
35
|
"DownloadUserCert": [
|
20
36
|
{
|
21
37
|
"document": "",
|
@@ -110,6 +126,14 @@
|
|
110
126
|
"title": "调用长安链体验网络合约执行交易"
|
111
127
|
}
|
112
128
|
],
|
129
|
+
"InvokeFabricChaincode": [
|
130
|
+
{
|
131
|
+
"document": "InvokeFabricChaincode",
|
132
|
+
"input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeFabricChaincode\n<公共请求参数>\n\n{\n \"ClusterId\": \"fabric-65z42qi150\",\n \"ChannelId\": \"channel-9xej4d\",\n \"ChaincodeName\": \"mytest\",\n \"FuncName\": \"Set\",\n \"FuncParam\": [\n \"D\",\n \"40\"\n ],\n \"WithAsyncResult\": false\n}",
|
133
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"bab100f3-be40-415c-b29b-3a44c77b25fe\",\n \"TxId\": \"0595a33e308170b035e0d97c1a79274ac55badf048c0c8fc569719e14a2990c5\",\n \"TxResult\": \"\",\n \"TxStatus\": \"VALID\"\n }\n}",
|
134
|
+
"title": "InvokeFabricChaincode"
|
135
|
+
}
|
136
|
+
],
|
113
137
|
"Query": [
|
114
138
|
{
|
115
139
|
"document": "",
|
@@ -166,6 +190,14 @@
|
|
166
190
|
"title": "通过交易ID查询"
|
167
191
|
}
|
168
192
|
],
|
193
|
+
"QueryFabricChaincode": [
|
194
|
+
{
|
195
|
+
"document": "QueryFabricChaincode",
|
196
|
+
"input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryFabricChaincode\n<公共请求参数>\n\n{\n \"ClusterId\": \"fabric-65z42qi150\",\n \"ChannelId\": \"channel-9xej4d\",\n \"ChaincodeName\": \"mytest\",\n \"FuncName\": \"Get\",\n \"FuncParam\": [\n \"A\"\n ]\n}",
|
197
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e431d04c-2a5c-43b4-a480-f127b3f46eb6\",\n \"TxId\": \"030acb112f9f2aa2ce537fea9d94d2f3c9ec6cf8e05aa62f5d3746167825dbe8\",\n \"TxResult\": \"10\",\n \"TxStatus\": \"VALID\"\n }\n}",
|
198
|
+
"title": "QueryFabricChaincode"
|
199
|
+
}
|
200
|
+
],
|
169
201
|
"SrvInvoke": [
|
170
202
|
{
|
171
203
|
"document": "",
|
@@ -152,7 +152,7 @@
|
|
152
152
|
{
|
153
153
|
"disabled": false,
|
154
154
|
"document": "事件详情列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
155
|
-
"example": "
|
155
|
+
"example": "\"EventList\": [ { \"ProductId\": \"cvm\", \"ProductName\": \"云服务器\", \"RegionId\": \"ap-chongqing\", \"RegionName\": \"重庆\", \"StartTime\": \"2023-06-09 14:16:00\", \"EndTime\": \"2023-06-09 14:28:00\", \"CurrentStatus\": \"正常\" } ]",
|
156
156
|
"member": "EventDetail",
|
157
157
|
"name": "EventList",
|
158
158
|
"output_required": false,
|