tccli-intl-en 3.0.1267.1__py2.py3-none-any.whl → 3.0.1269.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/cvm/v20170312/api.json +43 -33
- tccli/services/cvm/v20170312/examples.json +12 -12
- tccli/services/dlc/dlc_client.py +114 -8
- tccli/services/dlc/v20210125/api.json +252 -7
- tccli/services/dlc/v20210125/examples.json +16 -0
- tccli/services/faceid/v20180301/examples.json +1 -1
- tccli/services/mdl/v20200326/api.json +41 -11
- tccli/services/mdl/v20200326/examples.json +16 -16
- tccli/services/mdp/v20200527/api.json +60 -14
- tccli/services/mdp/v20200527/examples.json +79 -79
- tccli/services/message/__init__.py +4 -0
- tccli/services/message/message_client.py +207 -0
- tccli/services/message/v20181225/api.json +72 -0
- tccli/services/message/v20181225/examples.json +13 -0
- tccli/services/mps/mps_client.py +212 -0
- tccli/services/mps/v20190612/api.json +417 -0
- tccli/services/mps/v20190612/examples.json +50 -0
- tccli/services/teo/v20220901/api.json +3 -3
- {tccli_intl_en-3.0.1267.1.dist-info → tccli_intl_en-3.0.1269.1.dist-info}/METADATA +2 -2
- {tccli_intl_en-3.0.1267.1.dist-info → tccli_intl_en-3.0.1269.1.dist-info}/RECORD +26 -22
- {tccli_intl_en-3.0.1267.1.dist-info → tccli_intl_en-3.0.1269.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1267.1.dist-info → tccli_intl_en-3.0.1269.1.dist-info}/WHEEL +0 -0
- {tccli_intl_en-3.0.1267.1.dist-info → tccli_intl_en-3.0.1269.1.dist-info}/entry_points.txt +0 -0
- {tccli_intl_en-3.0.1267.1.dist-info → tccli_intl_en-3.0.1269.1.dist-info}/top_level.txt +0 -0
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"BindNewLVBDomainWithChannel": [
|
|
12
12
|
{
|
|
13
|
-
"document": " ",
|
|
13
|
+
"document": "bind an LVB domain name to a channel.",
|
|
14
14
|
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BindNewLVBDomainWithChannel\n<Common request parameters>\n\n{\n \"ChannelId\": \"5F61C341B92D6BE9225E\",\n \"LVBDomain\": \"mdptest.domain.com\"\n}",
|
|
15
15
|
"output": "{\n \"Response\": {\n \"LVBDomain\": \"mdptest.domain.com\",\n \"RequestId\": \"xx\"\n }\n}",
|
|
16
16
|
"title": "Sample request"
|
|
@@ -20,63 +20,63 @@
|
|
|
20
20
|
{
|
|
21
21
|
"document": " ",
|
|
22
22
|
"input": "https://mdp.tencentcloudapi.com/?Action=CreateStreamPackageChannel\n&Name=xxx\n&Protocol=HLS\n&<Common request parameters>",
|
|
23
|
-
"output": "{\n \"Response\": {\n \"Info\": {\n \"Points\": {\n \"Inputs\": [\n {\n \"Url\": \"
|
|
23
|
+
"output": "{\n \"Response\": {\n \"Info\": {\n \"Points\": {\n \"Inputs\": [\n {\n \"Url\": \"http://xxx.{region}.streampackage.srclivepush.myqcloud.com/v1/xxx/xxx1\",\n \"AuthInfo\": {\n \"Username\": \"username\",\n \"Password\": \"password\"\n }\n },\n {\n \"Url\": \"http://xxx.{region}.streampackage.srclivepush.myqcloud.com/v1/xxx/xxx2\",\n \"AuthInfo\": {\n \"Username\": \"username\",\n \"Password\": \"password\"\n }\n }\n ],\n \"Endpoints\": []\n },\n \"Protocol\": \"HLS\",\n \"Name\": \"demo_channel\",\n \"CacheInfo\": {\n \"Info\": [\n {\n \"Ext\": \".m3u8\",\n \"Timeout\": 15000\n },\n {\n \"Ext\": \".ts\",\n \"Timeout\": 600000\n }\n ]\n },\n \"Id\": \"66503E8E0000930000F6\"\n },\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
24
24
|
"title": "Sample request"
|
|
25
25
|
}
|
|
26
26
|
],
|
|
27
27
|
"CreateStreamPackageChannelEndpoint": [
|
|
28
28
|
{
|
|
29
|
-
"document": " ",
|
|
30
|
-
"input": "
|
|
31
|
-
"output": "{\n \"Response\": {\n \"Info\": {\n \"Url\": \"\",\n \"AuthInfo\": {\n \"
|
|
29
|
+
"document": " Sample request",
|
|
30
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStreamPackageChannelEndpoint\n<Common request parameters>\n\n{\n \"AuthInfo\": {\n \"AuthKey\": \"testKey\",\n \"BlackIpList\": [\n \"0.0.0.0/0\"\n ],\n \"WhiteIpList\": [\n \"0.0.0.0/0\"\n ]\n },\n \"Protocol\": \"XXX\",\n \"Id\": \"XXX\",\n \"Name\": \"endpoint\"\n}",
|
|
31
|
+
"output": "{\n \"Response\": {\n \"Info\": {\n \"Name\": \"endpoint\",\n \"Url\": \"http://127.0.0.1/dfh3efd/main.m3u8\",\n \"AuthInfo\": {\n \"WhiteIpList\": [\n \"0.0.0.0/0\"\n ],\n \"BlackIpList\": [\n \"0.0.0.0/0\"\n ],\n \"AuthKey\": \"testKey\"\n },\n \"Protocol\": \"HLS\",\n \"Manifest\": \"main\",\n \"TimeShiftEnable\": true,\n \"TimeShiftDuration\": 1,\n \"SSAIEnable\": true,\n \"SSAIInfo\": {\n \"AdsUrl\": \"http://127.0.0.1/adsUrl\",\n \"ConfigAliases\": [\n {\n \"ParamName\": \"para1\",\n \"AliasValueList\": [\n {\n \"Alias\": \"alia1\",\n \"Value\": \"val1\"\n }\n ]\n }\n ],\n \"SlateAd\": \"http://127.0.0.1/slateAd\",\n \"Threshold\": 1,\n \"DashMPDLocation\": true,\n \"AdMarkerPassthrough\": true,\n \"SCTE35AdType\": 1,\n \"AdTriggers\": [\n 1\n ],\n \"DeliveryRestrictions\": 1\n }\n },\n \"RequestId\": \"hd348rh893yr\"\n }\n}",
|
|
32
32
|
"title": "Sample request"
|
|
33
33
|
}
|
|
34
34
|
],
|
|
35
35
|
"CreateStreamPackageHarvestJob": [
|
|
36
36
|
{
|
|
37
37
|
"document": "Create HarvestJob.",
|
|
38
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStreamPackageHarvestJob\n<Common request parameters>\n\n{\n \"ID\": \"
|
|
39
|
-
"output": "{\n \"Response\": {\n \"Info\": {\n \"ID\": \"
|
|
38
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStreamPackageHarvestJob\n<Common request parameters>\n\n{\n \"ID\": \"66503E8E0000930000F5\",\n \"ChannelName\": \"channelTest\",\n \"EndpointName\": \"endpointTest\",\n \"TimeFormat\": \"ISO-8601\",\n \"StartTime\": \"2023-08-10 00:00:00\",\n \"EndTime\": \"2023-08-10 01:00:00\",\n \"Destination\": \"http://cosinfo.com\",\n \"Manifest\": \"main\"\n}",
|
|
39
|
+
"output": "{\n \"Response\": {\n \"Info\": {\n \"ID\": \"66503E8E0000930000F5\",\n \"ChannelName\": \"channelTest\",\n \"EndpointName\": \"endpointTest\",\n \"TimeFormat\": \"ISO-8601\",\n \"StartTime\": \"2023-08-10 00:00:00\",\n \"EndTime\": \"2023-08-10 01:00:00\",\n \"Destination\": \"http://cosinfo.com\",\n \"Manifest\": \"main\"\n },\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
40
40
|
"title": "Example1 Sample request"
|
|
41
41
|
}
|
|
42
42
|
],
|
|
43
43
|
"CreateStreamPackageLinearAssemblyChannel": [
|
|
44
44
|
{
|
|
45
|
-
"document": "",
|
|
46
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStreamPackageLinearAssemblyChannel\n<Common request parameters>\n\n{\n \"Name\": \"
|
|
47
|
-
"output": "{\n \"Response\": {\n \"Info\": {\n \"Name\": \"
|
|
45
|
+
"document": "Create linear assembly channel.",
|
|
46
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStreamPackageLinearAssemblyChannel\n<Common request parameters>\n\n{\n \"Name\": \"demo_channel\",\n \"Tier\": \"Standard\",\n \"PlaybackMode\": \"Linear\",\n \"SlateConf\": {\n \"SourceLocationId\": \"6760EC9700006786ABB0\",\n \"VodSourceName\": \"slate_vod_1\"\n },\n \"Outputs\": [\n {\n \"Type\": \"HLS\",\n \"GroupName\": \"source_group_1\",\n \"ManifestName\": \"master\",\n \"ManifestConf\": {\n \"Windows\": 60,\n \"AdMarkupType\": \"Enhanced SCTE-35\"\n }\n }\n ]\n}",
|
|
47
|
+
"output": "{\n \"Response\": {\n \"Info\": {\n \"Name\": \"demo_channel\",\n \"Tier\": \"Standard\",\n \"PlaybackMode\": \"Linear\",\n \"SlateConf\": {\n \"SourceLocationId\": \"6760EC9700006786ABB0\",\n \"VodSourceName\": \"slate_vod_1\"\n },\n \"Outputs\": [\n {\n \"Type\": \"HLS\",\n \"GroupName\": \"source_group_1\",\n \"ManifestName\": \"master\",\n \"ManifestConf\": {\n \"Windows\": 60,\n \"AdMarkupType\": \"Enhanced SCTE-35\"\n },\n \"PlaybackURL\": \"http://123456.ap-tokyo.streampackage.srclivepull.myqcloud.com/channel_assembly/6761180C89C8CFE2334C/master.m3u8\"\n }\n ],\n \"AttachedPrograms\": [\n \"67612E1189C8D039B3F6\"\n ],\n \"ProgramSchedules\": [\n {\n \"ProgramName\": \"demo_program\",\n \"ProgramId\": \"67612E1189C8D039B3F6\",\n \"SourceType\": \"Vod\",\n \"SourceId\": \"67613EEB0000B2AC7ED5\",\n \"SourceLocationId\": \"6760EC9700006786ABB0\",\n \"StartTime\": 1739265386,\n \"Duration\": \"60000\"\n }\n ],\n \"Id\": \"6761180C89C8CFE2334C\",\n \"Region\": \"ap-tokyo\",\n \"State\": \"Running\",\n \"TimeShiftEnable\": false,\n \"CreateTime\": 1739263386\n },\n \"RequestId\": \"7d4b42b2-a5d4-499e-ac9b-cdabd9b46026\"\n }\n}",
|
|
48
48
|
"title": "Sample request"
|
|
49
49
|
}
|
|
50
50
|
],
|
|
51
51
|
"CreateStreamPackageLinearAssemblyProgram": [
|
|
52
52
|
{
|
|
53
|
-
"document": "",
|
|
54
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStreamPackageLinearAssemblyProgram\n<Common request parameters>\n\n{\n \"Name\": \"
|
|
55
|
-
"output": "{\n \"Response\": {\n \"Info\": {\n \"Name\": \"
|
|
53
|
+
"document": "Create linear assembly program",
|
|
54
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStreamPackageLinearAssemblyProgram\n<Common request parameters>\n\n{\n \"Name\": \"demo_program\",\n \"AttachedChannel\": \"66503E8E0000930000F3\",\n \"SourceType\": \"VOD\",\n \"SourceLocationId\": \"66503E8E0000930000F0\",\n \"SourceName\": \"vod_source\",\n \"PlaybackConf\": {\n \"TransitionType\": \"Relative\",\n \"StartTime\": 0,\n \"Duration\": 0,\n \"RelativePosition\": \"After\",\n \"RelativeProgramId\": \"66503E8E0000930000F7\",\n \"ClipRangeConf\": {\n \"Type\": \"Entire\",\n \"Offset\": 0\n }\n },\n \"AdBreaks\": [\n {\n \"SourceLocationId\": \"66503E8E0000930000F1\",\n \"VodSourceName\": \"ad_source\",\n \"Offset\": 64000,\n \"MessageType\": \"SpliceInsert\",\n \"SpliceInsertConf\": {\n \"EventID\": \"1\",\n \"AvailNum\": \"0\",\n \"AvailExpected\": \"0\",\n \"ProgramID\": \"3\"\n },\n \"Metadatas\": [\n {\n \"Key\": \"test-key\",\n \"Value\": \"test-value\"\n }\n ],\n \"SourceLocationName\": \"ad_location\"\n }\n ]\n}",
|
|
55
|
+
"output": "{\n \"Response\": {\n \"Info\": {\n \"Name\": \"demo_program\",\n \"SourceType\": \"VOD\",\n \"SourceLocationId\": \"66503E8E0000930000F0\",\n \"SourceId\": \"66503E8E0000930000F1\",\n \"SourceName\": \"vod_source\",\n \"AttachedChannel\": \"66503E8E0000930000F2\",\n \"PlaybackConf\": {\n \"Duration\": 0,\n \"TransitionType\": \"Relative\",\n \"StartTime\": 0,\n \"RelativePosition\": \"After\",\n \"RelativeProgramId\": \"66503E8E0000930000F3\",\n \"ClipRangeConf\": {\n \"Type\": \"Entire\",\n \"Offset\": 0\n },\n \"RelativeProgramName\": \"relative_program\"\n },\n \"AdBreaks\": [\n {\n \"SourceLocationId\": \"66503E8E0000930000F4\",\n \"VodSourceName\": \"ad_source\",\n \"Offset\": 64000,\n \"MessageType\": \"SpliceInsert\",\n \"SpliceInsertConf\": {\n \"EventID\": \"1\",\n \"AvailNum\": \"0\",\n \"AvailExpected\": \"0\",\n \"ProgramID\": \"3\"\n },\n \"Metadatas\": [\n {\n \"Key\": \"test-key\",\n \"Value\": \"test-value\"\n }\n ],\n \"SourceLocationName\": \"ad_location\"\n }\n ],\n \"Id\": \"66503E8E0000930000F5\",\n \"Region\": \"ap-singapore\",\n \"SourceLocationName\": \"demo_location\"\n },\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
56
56
|
"title": "Sample request"
|
|
57
57
|
}
|
|
58
58
|
],
|
|
59
59
|
"CreateStreamPackageSSAIChannel": [
|
|
60
60
|
{
|
|
61
61
|
"document": "CreateStreamPackageSSAIChannel",
|
|
62
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStreamPackageSSAIChannel\n<Common request parameters>\n\n{\n \"Name\": \"TestConf\",\n \"ContentSource\": \"http://origin-server.com/abc/\",\n \"SSAIInfo\": {\n \"AdsUrl\": \"https://my.ads.com/path?ad_type=[player_params.ad_type]®ion=[player_params.region]\",\n \"ConfigAliases\": [\n {\n \"ParamName\": \"region\",\n \"AliasValueList\": [\n {\n \"Alias\": \"india\",\n \"Value\": \"ap-
|
|
63
|
-
"output": "{\n \"Response\": {\n \"Info\": {\n \"ID\": \"654CA8EF0000CE02BXXX\",\n \"Name\": \"TestConf\",\n \"ContentSource\": \"http://origin-server.com/abc/\",\n \"PlaybackPrefix\": \"http://xxx.ap-mumbai.streampackage.srclivepull.myqcloud.com/v1/ssai/master/0194d961674a1eb4611d3xxxxxx/\",\n \"SSAIInfo\": {\n \"AdsUrl\": \"https://my.ads.com/path?ad_type=[player_params.ad_type]®ion=[player_params.region]\",\n \"ConfigAliases\": [\n {\n \"ParamName\": \"region\",\n \"AliasValueList\": [\n {\n \"Alias\": \"india\",\n \"Value\": \"ap-
|
|
62
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStreamPackageSSAIChannel\n<Common request parameters>\n\n{\n \"Name\": \"TestConf\",\n \"ContentSource\": \"http://origin-server.com/abc/\",\n \"SSAIInfo\": {\n \"AdsUrl\": \"https://my.ads.com/path?ad_type=[player_params.ad_type]®ion=[player_params.region]\",\n \"ConfigAliases\": [\n {\n \"ParamName\": \"region\",\n \"AliasValueList\": [\n {\n \"Alias\": \"india\",\n \"Value\": \"ap-singapore\"\n }\n ]\n }\n ],\n \"AdMarkerPassthrough\": true,\n \"Threshold\": 12,\n \"SlateAd\": \"https://hostname/xxx/xxx.mp4\",\n \"SCTE35AdType\": 1,\n \"AdTriggers\": [\n 1\n ],\n \"DeliveryRestrictions\": 1,\n \"SourceCDNPrefix\": \"https://example_cdn.com/\",\n \"AdCDNPrefix\": \"https://example_ad_cdn.com/\"\n }\n}",
|
|
63
|
+
"output": "{\n \"Response\": {\n \"Info\": {\n \"ID\": \"654CA8EF0000CE02BXXX\",\n \"Name\": \"TestConf\",\n \"ContentSource\": \"http://origin-server.com/abc/\",\n \"PlaybackPrefix\": \"http://xxx.ap-mumbai.streampackage.srclivepull.myqcloud.com/v1/ssai/master/0194d961674a1eb4611d3xxxxxx/\",\n \"SSAIInfo\": {\n \"AdsUrl\": \"https://my.ads.com/path?ad_type=[player_params.ad_type]®ion=[player_params.region]\",\n \"ConfigAliases\": [\n {\n \"ParamName\": \"region\",\n \"AliasValueList\": [\n {\n \"Alias\": \"india\",\n \"Value\": \"ap-singapore\"\n }\n ]\n }\n ],\n \"AdMarkerPassthrough\": true,\n \"Threshold\": 12,\n \"SlateAd\": \"https://hostname/xxx/xxx.mp4\",\n \"SCTE35AdType\": 1,\n \"AdTriggers\": [\n 1\n ],\n \"DeliveryRestrictions\": 1,\n \"SourceCDNPrefix\": \"https://example_cdn.com/\",\n \"AdCDNPrefix\": \"https://example_ad_cdn.com/\",\n \"DashMPDLocation\": false\n }\n },\n \"RequestId\": \"0xxxxd32-1043-4e1b-bd20-1bfad0xxxx70\"\n }\n}",
|
|
64
64
|
"title": "CreateStreamPackageSSAIChannel"
|
|
65
65
|
}
|
|
66
66
|
],
|
|
67
67
|
"CreateStreamPackageSource": [
|
|
68
68
|
{
|
|
69
|
-
"document": "",
|
|
70
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStreamPackageSource\n<Common request parameters>\n\n{\n \"AttachedLocation\": \"
|
|
71
|
-
"output": "{\n \"Response\": {\n \"Info\": {\n \"Name\": \"
|
|
69
|
+
"document": "Create StreamPackage Sourece.",
|
|
70
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStreamPackageSource\n<Common request parameters>\n\n{\n \"AttachedLocation\": \"66503E8E0000930000F0\",\n \"Name\": \"source_name\",\n \"Type\": \"VOD\",\n \"PackageConfs\": [\n {\n \"GroupName\": \"group_name\",\n \"Type\": \"HLS\",\n \"Path\": \"/vod/main.m3u8\"\n }\n ]\n}",
|
|
71
|
+
"output": "{\n \"Response\": {\n \"Info\": {\n \"Name\": \"source_name\",\n \"Type\": \"VOD\",\n \"PackageConf\": [\n {\n \"GroupName\": \"group_name\",\n \"Type\": \"HLS\",\n \"Path\": \"/vod/main.m3u8\"\n }\n ],\n \"Id\": \"66503E8E0000930000F0\",\n \"CreateTime\": 1590508800,\n \"UpdateTime\": 1590508800,\n \"Region\": \"ap-singapore\"\n },\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
72
72
|
"title": "Sample request"
|
|
73
73
|
}
|
|
74
74
|
],
|
|
75
75
|
"CreateStreamPackageSourceLocation": [
|
|
76
76
|
{
|
|
77
77
|
"document": "Create Linear Assembly SourceLocation.",
|
|
78
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStreamPackageSourceLocation\n<Common request parameters>\n\n{\n \"Name\": \"
|
|
79
|
-
"output": "{\n \"Response\": {\n \"Info\": {\n \"Id\": \"
|
|
78
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStreamPackageSourceLocation\n<Common request parameters>\n\n{\n \"Name\": \"location_name\",\n \"BaseUrl\": \"https://base.com/\",\n \"SegmentDeliverEnable\": true,\n \"SegmentDeliverConf\": {\n \"DefaultSegmentUrl\": \"https://base.com/demo/\",\n \"NameServers\": [\n {\n \"Name\": \"server_name\",\n \"Url\": \"https://test.com/\"\n }\n ]\n },\n \"SegmentDeliverUsePackageEnable\": true\n}",
|
|
79
|
+
"output": "{\n \"Response\": {\n \"Info\": {\n \"Id\": \"66503E8E0000930000F0\",\n \"Name\": \"location_name\",\n \"Region\": \"ap-singapore\",\n \"BaseUrl\": \"https://base.com/\",\n \"SegmentDeliverEnable\": true,\n \"SegmentDeliverConf\": {\n \"DefaultSegmentUrl\": \"https://base.com/demo/\",\n \"NameServers\": [\n {\n \"Name\": \"server_name\",\n \"Url\": \"https://test.com/\"\n }\n ]\n },\n \"AttachedLiveSources\": [\n \"66503E8E0000930000F2\"\n ],\n \"AttachedVodSources\": [\n \"66503E8E0000930000F1\"\n ],\n \"CreateTime\": 1590508800,\n \"UpdateTime\": 1590508800,\n \"SegmentDeliverUsePackageEnable\": true\n },\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
80
80
|
"title": "Request example"
|
|
81
81
|
}
|
|
82
82
|
],
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
{
|
|
93
93
|
"document": " ",
|
|
94
94
|
"input": "https://mdp.tencentcloudapi.com/?Action=DeleteStreamPackageChannelEndpoints\n&Id=xxx\n&Urls.0=xxx\n&<Common request parameters>",
|
|
95
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
95
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
96
96
|
"title": "Sample request"
|
|
97
97
|
}
|
|
98
98
|
],
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
{
|
|
101
101
|
"document": " ",
|
|
102
102
|
"input": "https://mdp.tencentcloudapi.com/?Action=DeleteStreamPackageChannels\n&Ids.0=xxx\n&<Common request parameters>",
|
|
103
|
-
"output": "{\n \"Response\": {\n \"SuccessInfos\": [\n {\n \"
|
|
103
|
+
"output": "{\n \"Response\": {\n \"SuccessInfos\": [\n {\n \"Points\": {\n \"Inputs\": [\n {\n \"Url\": \"http://xxx.{region}.streampackage.srclivepush.myqcloud.com/v1/xxx/xxx1\",\n \"AuthInfo\": {\n \"Username\": \"username\",\n \"Password\": \"password\"\n }\n },\n {\n \"Url\": \"http://xxx.{region}.streampackage.srclivepush.myqcloud.com/v1/xxx/xxx2\",\n \"AuthInfo\": {\n \"Username\": \"username\",\n \"Password\": \"password\"\n }\n }\n ],\n \"Endpoints\": []\n },\n \"Protocol\": \"HLS\",\n \"Name\": \"demo_channel\",\n \"CacheInfo\": {\n \"Info\": [\n {\n \"Ext\": \".m3u8\",\n \"Timeout\": 15000\n },\n {\n \"Ext\": \".ts\",\n \"Timeout\": 600000\n }\n ]\n },\n \"Id\": \"66503E8E0000930000F6\"\n }\n ],\n \"FailInfos\": [],\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
104
104
|
"title": "Sample request"
|
|
105
105
|
}
|
|
106
106
|
],
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
{
|
|
109
109
|
"document": "Delete HarvestJob.",
|
|
110
110
|
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStreamPackageHarvestJobs\n<Common request parameters>\n\n{\n \"ID\": \"your HarvestJob ID\"\n}",
|
|
111
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
111
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
112
112
|
"title": "Example1 Sample request"
|
|
113
113
|
}
|
|
114
114
|
],
|
|
@@ -116,39 +116,39 @@
|
|
|
116
116
|
{
|
|
117
117
|
"document": "Deleting HarvestJobs in Batch.",
|
|
118
118
|
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStreamPackageHarvestJobs\n<Common request parameters>\n\n{\n \"IDs\": [\n \"your HarvestJob IDs\"\n ]\n}",
|
|
119
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
119
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
120
120
|
"title": "Example1 Sample request"
|
|
121
121
|
}
|
|
122
122
|
],
|
|
123
123
|
"DeleteStreamPackageLinearAssemblyChannel": [
|
|
124
124
|
{
|
|
125
|
-
"document": "",
|
|
126
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStreamPackageLinearAssemblyChannel\n<Common request parameters>\n\n{\n \"Id\": \"
|
|
127
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
125
|
+
"document": "Delete channel linear assemblyChannel.",
|
|
126
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStreamPackageLinearAssemblyChannel\n<Common request parameters>\n\n{\n \"Id\": \"66503E8E0000930000F3\"\n}",
|
|
127
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
128
128
|
"title": "Sample request"
|
|
129
129
|
}
|
|
130
130
|
],
|
|
131
131
|
"DeleteStreamPackageLinearAssemblyChannels": [
|
|
132
132
|
{
|
|
133
|
-
"document": "",
|
|
134
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStreamPackageLinearAssemblyChannels\n<Common request parameters>\n\n{\n \"Ids\": [\n \"
|
|
135
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
133
|
+
"document": "Delete channels in batches and linearly assemble channels.",
|
|
134
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStreamPackageLinearAssemblyChannels\n<Common request parameters>\n\n{\n \"Ids\": [\n \"66503E8E0000930000F4\"\n ]\n}",
|
|
135
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
136
136
|
"title": "Sample request"
|
|
137
137
|
}
|
|
138
138
|
],
|
|
139
139
|
"DeleteStreamPackageLinearAssemblyProgram": [
|
|
140
140
|
{
|
|
141
|
-
"document": "",
|
|
142
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStreamPackageLinearAssemblyProgram\n<Common request parameters>\n\n{\n \"Id\": \"
|
|
143
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
141
|
+
"document": "Delete the linear assembly program.",
|
|
142
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStreamPackageLinearAssemblyProgram\n<Common request parameters>\n\n{\n \"Id\": \"66503E8E0000930000F4\"\n}",
|
|
143
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
144
144
|
"title": "Sample request"
|
|
145
145
|
}
|
|
146
146
|
],
|
|
147
147
|
"DeleteStreamPackageLinearAssemblyPrograms": [
|
|
148
148
|
{
|
|
149
|
-
"document": "",
|
|
150
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStreamPackageLinearAssemblyPrograms\n<Common request parameters>\n\n{\n \"Ids\": [\n \"
|
|
151
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
149
|
+
"document": "Batch delete linear assembly programs.",
|
|
150
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStreamPackageLinearAssemblyPrograms\n<Common request parameters>\n\n{\n \"Ids\": [\n \"66503E8E0000930000F4\"\n ]\n}",
|
|
151
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
152
152
|
"title": "Sample request"
|
|
153
153
|
}
|
|
154
154
|
],
|
|
@@ -162,17 +162,17 @@
|
|
|
162
162
|
],
|
|
163
163
|
"DeleteStreamPackageSource": [
|
|
164
164
|
{
|
|
165
|
-
"document": "",
|
|
166
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStreamPackageSource\n<Common request parameters>\n\n{\n \"Id\": \"
|
|
167
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
165
|
+
"document": "Batch delete StreamPackage Source.",
|
|
166
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStreamPackageSource\n<Common request parameters>\n\n{\n \"Id\": \"66503E8E0000930000F1\"\n}",
|
|
167
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
168
168
|
"title": "Sample request"
|
|
169
169
|
}
|
|
170
170
|
],
|
|
171
171
|
"DeleteStreamPackageSourceLocation": [
|
|
172
172
|
{
|
|
173
173
|
"document": "",
|
|
174
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStreamPackageSourceLocation\n<Common request parameters>\n\n{\n \"Id\": \"
|
|
175
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
174
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStreamPackageSourceLocation\n<Common request parameters>\n\n{\n \"Id\": \"66503E8E0000930000F0\"\n}",
|
|
175
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
176
176
|
"title": "Sample request"
|
|
177
177
|
}
|
|
178
178
|
],
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
{
|
|
213
213
|
"document": " ",
|
|
214
214
|
"input": "https://mdp.tencentcloudapi.com/?Action=DescribeStreamPackageChannel\n&Id=xxx\n&<Common request parameters>",
|
|
215
|
-
"output": "{\n \"Response\": {\n \"Info\": {\n \"Id\": \"
|
|
215
|
+
"output": "{\n \"Response\": {\n \"Info\": {\n \"Id\": \"66503E8E0000930000F6\",\n \"Name\": \"demo_channel\",\n \"Protocol\": \"HLS\",\n \"Points\": {\n \"Inputs\": [\n {\n \"Url\": \"http://streampackage.${region}-1.srclivepush.myqcloud.com/v1/017182d5d3c4647d244530760443/017182d5d3c4647d244530760444\",\n \"AuthInfo\": {\n \"Username\": \"\",\n \"Password\": \"\"\n }\n },\n {\n \"Url\": \"http://streampackage.${region}-2.srclivepush.myqcloud.com/v1/017182d5d3c4647d244530760443/017182d5d3c4647d244530760445\",\n \"AuthInfo\": {\n \"Username\": \"\",\n \"Password\": \"\"\n }\n }\n ],\n \"Endpoints\": []\n },\n \"CacheInfo\": {\n \"Info\": [\n {\n \"Ext\": \".m3u8\",\n \"Timeout\": 15000\n },\n {\n \"Ext\": \".ts\",\n \"Timeout\": 600000\n }\n ]\n }\n },\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
216
216
|
"title": "Sample request"
|
|
217
217
|
}
|
|
218
218
|
],
|
|
@@ -242,17 +242,17 @@
|
|
|
242
242
|
],
|
|
243
243
|
"DescribeStreamPackageLinearAssemblyChannel": [
|
|
244
244
|
{
|
|
245
|
-
"document": "",
|
|
246
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageLinearAssemblyChannel\n<Common request parameters>\n\n{\n \"Id\": \"
|
|
247
|
-
"output": "{\n \"Response\": {\n \"Info\": {\n \"Name\": \"
|
|
245
|
+
"document": "Query channel linear assembly Channel information.",
|
|
246
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageLinearAssemblyChannel\n<Common request parameters>\n\n{\n \"Id\": \"66503E8E0000930000F3\"\n}",
|
|
247
|
+
"output": "{\n \"Response\": {\n \"Info\": {\n \"Name\": \"demo_channel\",\n \"Tier\": \"Standard\",\n \"PlaybackMode\": \"Linear\",\n \"SlateConf\": {\n \"SourceLocationId\": \"6760EC9700006786ABB0\",\n \"VodSourceName\": \"slate_vod_1\"\n },\n \"Outputs\": [\n {\n \"Type\": \"HLS\",\n \"GroupName\": \"source_group_1\",\n \"ManifestName\": \"master\",\n \"ManifestConf\": {\n \"Windows\": 60,\n \"AdMarkupType\": \"Enhanced SCTE-35\"\n },\n \"PlaybackURL\": \"http://123456.ap-tokyo.streampackage.srclivepull.myqcloud.com/channel_assembly/6761180C89C8CFE2334C/master.m3u8\"\n }\n ],\n \"AttachedPrograms\": [\n \"67612E1189C8D039B3F6\"\n ],\n \"ProgramSchedules\": [\n {\n \"ProgramName\": \"demo_program\",\n \"ProgramId\": \"67612E1189C8D039B3F6\",\n \"SourceType\": \"Vod\",\n \"SourceId\": \"67613EEB0000B2AC7ED5\",\n \"SourceLocationId\": \"6760EC9700006786ABB0\",\n \"StartTime\": 1739265386,\n \"Duration\": \"60000\"\n }\n ],\n \"Id\": \"66503E8E0000930000F3\",\n \"Region\": \"ap-tokyo\",\n \"State\": \"Running\",\n \"TimeShiftEnable\": false,\n \"CreateTime\": 1739263386\n },\n \"RequestId\": \"7d4b42b2-a5d4-499e-ac9b-cdabd9b46026\"\n }\n}",
|
|
248
248
|
"title": "Sample request"
|
|
249
249
|
}
|
|
250
250
|
],
|
|
251
251
|
"DescribeStreamPackageLinearAssemblyChannelAlerts": [
|
|
252
252
|
{
|
|
253
253
|
"document": "",
|
|
254
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageLinearAssemblyChannelAlerts\n<Common request parameters>\n\n{\n \"ChannelId\": \"
|
|
255
|
-
"output": "{\n \"Response\": {\n \"Infos\": {\n \"ProgramAlertCounts\": [\n {\n \"ProgramId\": \"
|
|
254
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageLinearAssemblyChannelAlerts\n<Common request parameters>\n\n{\n \"ChannelId\": \"66503E8E0000930000F3\",\n \"StartTime\": 1590508800,\n \"EndTime\": 1590508900\n}",
|
|
255
|
+
"output": "{\n \"Response\": {\n \"Infos\": {\n \"ProgramAlertCounts\": [\n {\n \"ProgramId\": \"66503E8E0000930000F4\",\n \"ProgramName\": \"demo_program\",\n \"Category\": \"PLAYBACK_WARNING\",\n \"Count\": 1,\n \"LastModifiedTime\": 1590508810\n }\n ],\n \"ProgramAlertInfos\": [\n {\n \"ChannelId\": \"66503E8E0000930000F3\",\n \"ChannelName\": \"demo_channel\",\n \"ProgramId\": \"66503E8E0000930000F4\",\n \"ProgramName\": \"demo_program\",\n \"Code\": 30002,\n \"Category\": \"PLAYBACK_WARNING\",\n \"Message\": \"During the channel assembly, a mismatched 'resolution' was encountered in the 'demo_channel' channel. The discrepancy lies in the 'demo_group' group between the manifest of '1590508810531' at 'testStreaming_1336638_1.m3u8' with 'resolution' 852x480, and the manifest of 'Filler slate' at 'testStreaming_1336638_0.m3u8' with 'resolution' 426x240.\",\n \"LastModifiedTime\": 1590508810\n }\n ]\n },\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
256
256
|
"title": "Sample request"
|
|
257
257
|
}
|
|
258
258
|
],
|
|
@@ -260,31 +260,31 @@
|
|
|
260
260
|
{
|
|
261
261
|
"document": "",
|
|
262
262
|
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageLinearAssemblyChannels\n<Common request parameters>\n\n{\n \"PageNum\": 1,\n \"PageSize\": 1\n}",
|
|
263
|
-
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"Name\": \"
|
|
263
|
+
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"Name\": \"demo_channel\",\n \"Tier\": \"Standard\",\n \"PlaybackMode\": \"Linear\",\n \"SlateConf\": {\n \"SourceLocationId\": \"6760EC9700006786ABB0\",\n \"VodSourceName\": \"slate_vod_1\"\n },\n \"Outputs\": [\n {\n \"Type\": \"HLS\",\n \"GroupName\": \"source_group_1\",\n \"ManifestName\": \"master\",\n \"ManifestConf\": {\n \"Windows\": 60,\n \"AdMarkupType\": \"Enhanced SCTE-35\"\n },\n \"PlaybackURL\": \"http://123456.ap-tokyo.streampackage.srclivepull.myqcloud.com/channel_assembly/6761180C89C8CFE2334C/master.m3u8\"\n }\n ],\n \"AttachedPrograms\": [\n \"67612E1189C8D039B3F6\"\n ],\n \"ProgramSchedules\": [\n {\n \"ProgramName\": \"demo_program\",\n \"ProgramId\": \"67612E1189C8D039B3F6\",\n \"SourceType\": \"Vod\",\n \"SourceId\": \"67613EEB0000B2AC7ED5\",\n \"SourceLocationId\": \"6760EC9700006786ABB0\",\n \"StartTime\": 1739265386,\n \"Duration\": \"60000\"\n }\n ],\n \"Id\": \"6761180C89C8CFE2334C\",\n \"Region\": \"ap-tokyo\",\n \"State\": \"Running\",\n \"TimeShiftEnable\": false,\n \"CreateTime\": 1739263386\n }\n ],\n \"PageNum\": 1,\n \"PageSize\": 1,\n \"TotalNum\": 1,\n \"TotalPage\": 1,\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
264
264
|
"title": "Sample request"
|
|
265
265
|
}
|
|
266
266
|
],
|
|
267
267
|
"DescribeStreamPackageLinearAssemblyProgram": [
|
|
268
268
|
{
|
|
269
269
|
"document": "",
|
|
270
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageLinearAssemblyProgram\n<Common request parameters>\n\n{\n \"Id\": \"
|
|
271
|
-
"output": "{\n \"Response\": {\n \"Info\": {\n \"Name\": \"
|
|
270
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageLinearAssemblyProgram\n<Common request parameters>\n\n{\n \"Id\": \"66503E8E0000930000F5\"\n}",
|
|
271
|
+
"output": "{\n \"Response\": {\n \"Info\": {\n \"Name\": \"demo_program\",\n \"SourceType\": \"VOD\",\n \"SourceLocationId\": \"66503E8E0000930000F0\",\n \"SourceId\": \"66503E8E0000930000F1\",\n \"SourceName\": \"vod_source\",\n \"AttachedChannel\": \"66503E8E0000930000F2\",\n \"PlaybackConf\": {\n \"Duration\": 0,\n \"TransitionType\": \"Relative\",\n \"StartTime\": 0,\n \"RelativePosition\": \"After\",\n \"RelativeProgramId\": \"66503E8E0000930000F3\",\n \"ClipRangeConf\": {\n \"Type\": \"Entire\",\n \"Offset\": 0\n },\n \"RelativeProgramName\": \"relative_program\"\n },\n \"AdBreaks\": [\n {\n \"SourceLocationId\": \"66503E8E0000930000F4\",\n \"VodSourceName\": \"ad_source\",\n \"Offset\": 64000,\n \"MessageType\": \"SpliceInsert\",\n \"SpliceInsertConf\": {\n \"EventID\": \"1\",\n \"AvailNum\": \"0\",\n \"AvailExpected\": \"0\",\n \"ProgramID\": \"3\"\n },\n \"Metadatas\": [\n {\n \"Key\": \"test-key\",\n \"Value\": \"test-value\"\n }\n ],\n \"SourceLocationName\": \"ad_location\"\n }\n ],\n \"Id\": \"66503E8E0000930000F5\",\n \"Region\": \"ap-singapore\",\n \"SourceLocationName\": \"demo_location\"\n },\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
272
272
|
"title": "Sample request"
|
|
273
273
|
}
|
|
274
274
|
],
|
|
275
275
|
"DescribeStreamPackageLinearAssemblyProgramSchedules": [
|
|
276
276
|
{
|
|
277
277
|
"document": "",
|
|
278
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageLinearAssemblyProgramSchedules\n<Common request parameters>\n\n{\n \"ChannelId\": \"
|
|
279
|
-
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"Name\": \"
|
|
278
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageLinearAssemblyProgramSchedules\n<Common request parameters>\n\n{\n \"ChannelId\": \"66503E8E0000930000F2\",\n \"TimeWindow\": 100,\n \"PageNum\": 1,\n \"PageSize\": 10\n}",
|
|
279
|
+
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"Name\": \"demo_program\",\n \"SourceType\": \"VOD\",\n \"SourceLocationId\": \"66503E8E0000930000F0\",\n \"SourceId\": \"66503E8E0000930000F1\",\n \"SourceName\": \"vod_source\",\n \"AttachedChannel\": \"66503E8E0000930000F2\",\n \"PlaybackConf\": {\n \"Duration\": 0,\n \"TransitionType\": \"Relative\",\n \"StartTime\": 0,\n \"RelativePosition\": \"After\",\n \"RelativeProgramId\": \"66503E8E0000930000F3\",\n \"ClipRangeConf\": {\n \"Type\": \"Entire\",\n \"Offset\": 0\n },\n \"RelativeProgramName\": \"relative_program\"\n },\n \"AdBreaks\": [\n {\n \"SourceLocationId\": \"66503E8E0000930000F4\",\n \"VodSourceName\": \"ad_source\",\n \"Offset\": 64000,\n \"MessageType\": \"SpliceInsert\",\n \"SpliceInsertConf\": {\n \"EventID\": \"1\",\n \"AvailNum\": \"0\",\n \"AvailExpected\": \"0\",\n \"ProgramID\": \"3\"\n },\n \"Metadatas\": [\n {\n \"Key\": \"test-key\",\n \"Value\": \"test-value\"\n }\n ],\n \"SourceLocationName\": \"ad_location\"\n }\n ],\n \"Id\": \"66503E8E0000930000F5\",\n \"Region\": \"ap-singapore\",\n \"SourceLocationName\": \"demo_location\"\n }\n ],\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"TotalNum\": 1,\n \"TotalPage\": 1,\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
280
280
|
"title": "Sample request"
|
|
281
281
|
}
|
|
282
282
|
],
|
|
283
283
|
"DescribeStreamPackageLinearAssemblyPrograms": [
|
|
284
284
|
{
|
|
285
285
|
"document": "",
|
|
286
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageLinearAssemblyPrograms\n<Common request parameters>\n\n{\n \"PageNum\": 1,\n \"PageSize\": 1,\n \"ChannelId\": \"
|
|
287
|
-
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"Name\": \"
|
|
286
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageLinearAssemblyPrograms\n<Common request parameters>\n\n{\n \"PageNum\": 1,\n \"PageSize\": 1,\n \"ChannelId\": \"66503E8E0000930000F2\"\n}",
|
|
287
|
+
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"Name\": \"demo_program\",\n \"SourceType\": \"VOD\",\n \"SourceLocationId\": \"66503E8E0000930000F0\",\n \"SourceId\": \"66503E8E0000930000F1\",\n \"SourceName\": \"vod_source\",\n \"AttachedChannel\": \"66503E8E0000930000F2\",\n \"PlaybackConf\": {\n \"Duration\": 0,\n \"TransitionType\": \"Relative\",\n \"StartTime\": 0,\n \"RelativePosition\": \"After\",\n \"RelativeProgramId\": \"66503E8E0000930000F3\",\n \"ClipRangeConf\": {\n \"Type\": \"Entire\",\n \"Offset\": 0\n },\n \"RelativeProgramName\": \"relative_program\"\n },\n \"AdBreaks\": [\n {\n \"SourceLocationId\": \"66503E8E0000930000F4\",\n \"VodSourceName\": \"ad_source\",\n \"Offset\": 64000,\n \"MessageType\": \"SpliceInsert\",\n \"SpliceInsertConf\": {\n \"EventID\": \"1\",\n \"AvailNum\": \"0\",\n \"AvailExpected\": \"0\",\n \"ProgramID\": \"3\"\n },\n \"Metadatas\": [\n {\n \"Key\": \"test-key\",\n \"Value\": \"test-value\"\n }\n ],\n \"SourceLocationName\": \"ad_location\"\n }\n ],\n \"Id\": \"66503E8E0000930000F5\",\n \"Region\": \"ap-singapore\",\n \"SourceLocationName\": \"demo_location\"\n }\n ],\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"TotalNum\": 1,\n \"TotalPage\": 1,\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
288
288
|
"title": "Sample request"
|
|
289
289
|
}
|
|
290
290
|
],
|
|
@@ -315,32 +315,32 @@
|
|
|
315
315
|
"DescribeStreamPackageSource": [
|
|
316
316
|
{
|
|
317
317
|
"document": "",
|
|
318
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageSource\n<Common request parameters>\n\n{\n \"Id\": \"
|
|
319
|
-
"output": "{\n \"Response\": {\n \"Info\": {\n \"Name\": \"
|
|
318
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageSource\n<Common request parameters>\n\n{\n \"Id\": \"66503E8E0000930000F1\"\n}",
|
|
319
|
+
"output": "{\n \"Response\": {\n \"Info\": {\n \"Name\": \"source_name\",\n \"Type\": \"VOD\",\n \"PackageConf\": [\n {\n \"GroupName\": \"group_name\",\n \"Type\": \"HLS\",\n \"Path\": \"/vod/main.m3u8\"\n }\n ],\n \"Id\": \"66503E8E0000930000F1\",\n \"CreateTime\": 1590508800,\n \"UpdateTime\": 1590508800,\n \"Region\": \"ap-singapore\"\n },\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
320
320
|
"title": "Sample request"
|
|
321
321
|
}
|
|
322
322
|
],
|
|
323
323
|
"DescribeStreamPackageSourceAlerts": [
|
|
324
324
|
{
|
|
325
325
|
"document": "",
|
|
326
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageSourceAlerts\n<Common request parameters>\n\n{\n \"SourceId\": \"
|
|
327
|
-
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"SourceId\": \"
|
|
326
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageSourceAlerts\n<Common request parameters>\n\n{\n \"SourceId\": \"66503E8E0000930000F1\",\n \"StartTime\": 1590508800,\n \"EndTime\": 1590508900\n}",
|
|
327
|
+
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"SourceId\": \"66503E8E0000930000F1\",\n \"SourceName\": \"source_name\",\n \"Code\": 20012,\n \"Category\": \"PLAYBACK_WARNING\",\n \"Message\": \"https://test.com/demo.m3u8 request response http 404.\",\n \"LastModifiedTime\": 1590508900\n }\n ],\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
328
328
|
"title": "Sample request"
|
|
329
329
|
}
|
|
330
330
|
],
|
|
331
331
|
"DescribeStreamPackageSourceLocation": [
|
|
332
332
|
{
|
|
333
333
|
"document": "",
|
|
334
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageSourceLocation\n<Common request parameters>\n\n{\n \"Id\": \"
|
|
335
|
-
"output": "{\n \"Response\": {\n \"Info\": {\n \"Id\": \"
|
|
334
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageSourceLocation\n<Common request parameters>\n\n{\n \"Id\": \"66503E8E0000930000F0\"\n}",
|
|
335
|
+
"output": "{\n \"Response\": {\n \"Info\": {\n \"Id\": \"66503E8E0000930000F0\",\n \"Name\": \"location_name\",\n \"Region\": \"ap-singapore\",\n \"BaseUrl\": \"https://base.com/\",\n \"SegmentDeliverEnable\": true,\n \"SegmentDeliverConf\": {\n \"DefaultSegmentUrl\": \"https://base.com/demo/\",\n \"NameServers\": [\n {\n \"Name\": \"server_name\",\n \"Url\": \"https://test.com/\"\n }\n ]\n },\n \"AttachedLiveSources\": [\n \"66503E8E0000930000F2\"\n ],\n \"AttachedVodSources\": [\n \"66503E8E0000930000F1\"\n ],\n \"CreateTime\": 1590508800,\n \"UpdateTime\": 1590508800,\n \"SegmentDeliverUsePackageEnable\": true\n },\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
336
336
|
"title": "Sample request"
|
|
337
337
|
}
|
|
338
338
|
],
|
|
339
339
|
"DescribeStreamPackageSourceLocationAlerts": [
|
|
340
340
|
{
|
|
341
341
|
"document": "",
|
|
342
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageSourceLocationAlerts\n<Common request parameters>\n\n{\n \"LocationId\": \"
|
|
343
|
-
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"LocationId\": \"
|
|
342
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageSourceLocationAlerts\n<Common request parameters>\n\n{\n \"LocationId\": \"66503E8E0000930000F0\"\n}",
|
|
343
|
+
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"LocationId\": \"66503E8E0000930000F0\",\n \"Code\": 40001,\n \"Category\": \"PLAYBACK_WARNING\",\n \"Message\": \"unknown host www.test.com\",\n \"LastModifiedTime\": 1590508800,\n \"LocationName\": \"location_name\"\n }\n ],\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
344
344
|
"title": "Sample request"
|
|
345
345
|
}
|
|
346
346
|
],
|
|
@@ -348,15 +348,15 @@
|
|
|
348
348
|
{
|
|
349
349
|
"document": "",
|
|
350
350
|
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageSourceLocations\n<Common request parameters>\n\n{\n \"PageNum\": 1,\n \"PageSize\": 1\n}",
|
|
351
|
-
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"Id\": \"
|
|
351
|
+
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"Id\": \"66503E8E0000930000F0\",\n \"Name\": \"location_name\",\n \"Region\": \"ap-singapore\",\n \"BaseUrl\": \"https://base.com/\",\n \"SegmentDeliverEnable\": true,\n \"SegmentDeliverConf\": {\n \"DefaultSegmentUrl\": \"https://base.com/demo/\",\n \"NameServers\": [\n {\n \"Name\": \"server_name\",\n \"Url\": \"https://test.com/\"\n }\n ]\n },\n \"AttachedLiveSources\": [\n \"66503E8E0000930000F2\"\n ],\n \"AttachedVodSources\": [\n \"66503E8E0000930000F1\"\n ],\n \"CreateTime\": 1590508800,\n \"UpdateTime\": 1590508800,\n \"SegmentDeliverUsePackageEnable\": true\n }\n ],\n \"PageNum\": 1,\n \"PageSize\": 1,\n \"TotalNum\": 1,\n \"TotalPage\": 1,\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
352
352
|
"title": "Sample request"
|
|
353
353
|
}
|
|
354
354
|
],
|
|
355
355
|
"DescribeStreamPackageSources": [
|
|
356
356
|
{
|
|
357
357
|
"document": "",
|
|
358
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageSources\n<Common request parameters>\n\n{\n \"PageNum\": 1,\n \"PageSize\": 1,\n \"LocationId\": \"
|
|
359
|
-
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"Name\": \"
|
|
358
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamPackageSources\n<Common request parameters>\n\n{\n \"PageNum\": 1,\n \"PageSize\": 1,\n \"LocationId\": \"66503E8E0000930000F0\",\n \"Type\": \"VOD\"\n}",
|
|
359
|
+
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"Name\": \"source_name\",\n \"Type\": \"VOD\",\n \"PackageConf\": [\n {\n \"GroupName\": \"group_name\",\n \"Type\": \"HLS\",\n \"Path\": \"/vod/demo.m3u8\"\n }\n ],\n \"Id\": \"66503E8E0000930000F1\",\n \"CreateTime\": 1590508800,\n \"UpdateTime\": 1590508800,\n \"Region\": \"ap-singapore\"\n }\n ],\n \"PageNum\": 1,\n \"PageSize\": 1,\n \"TotalNum\": 1,\n \"TotalPage\": 1,\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
360
360
|
"title": "Sample request"
|
|
361
361
|
}
|
|
362
362
|
],
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
"ModifyStreamPackageChannelEndpoint": [
|
|
388
388
|
{
|
|
389
389
|
"document": " ",
|
|
390
|
-
"input": "
|
|
390
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyStreamPackageChannelEndpoint\n<Common request parameters>\n\n{\n \"Url\": \"XXX\",\n \"AuthInfo\": {\n \"AuthKey\": \"XXX\",\n \"BlackIpList\": [\n \"0.0.0.0/0\"\n ],\n \"WhiteIpList\": [\n \"0.0.0.0/0\"\n ]\n },\n \"Protocol\": \"XXX\",\n \"Id\": \"XXX\",\n \"Name\": \"XXX\"\n}",
|
|
391
391
|
"output": "{\n \"Response\": {\n \"RequestId\": \"11-222-333\"\n }\n}",
|
|
392
392
|
"title": "Sample request"
|
|
393
393
|
}
|
|
@@ -403,16 +403,16 @@
|
|
|
403
403
|
"ModifyStreamPackageLinearAssemblyChannel": [
|
|
404
404
|
{
|
|
405
405
|
"document": "",
|
|
406
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyStreamPackageLinearAssemblyChannel\n<Common request parameters>\n
|
|
407
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
406
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyStreamPackageLinearAssemblyChannel\n<Common request parameters>\n{\n \"Id\": \"675BDEF5000086DD3AA0\",\n \"Name\": \"chn\",\n \"Tier\": \"Standard\",\n \"PlaybackMode\": \"Linear\",\n \"TimeShiftEnable\": true,\n \"TimeShiftConf\": {\n \"TimeWindows\": 1\n },\n \"SlateConf\": {\n \"SourceLocationId\": \"675BDEF5000086DD3AA1\",\n \"VodSourceName\": \"source1\"\n },\n \"Outputs\": [\n {\n \"Type\": \"HLS\",\n \"GroupName\": \"source_gropu_1\",\n \"ManifestName\": \"master\",\n \"ManifestConf\": {\n \"Windows\": 60,\n \"AdMarkupType\": \"Date Range\"\n }\n }\n ]\n}",
|
|
407
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"7d4b42b2-a5d4-499e-ac9b-cdabd9b46026\"\n }\n}",
|
|
408
408
|
"title": "Sample request"
|
|
409
409
|
}
|
|
410
410
|
],
|
|
411
411
|
"ModifyStreamPackageLinearAssemblyProgram": [
|
|
412
412
|
{
|
|
413
413
|
"document": "",
|
|
414
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyStreamPackageLinearAssemblyProgram\n<Common request parameters>\n\n{\n \"Id\": \"
|
|
415
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
414
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyStreamPackageLinearAssemblyProgram\n<Common request parameters>\n\n{\n \"Id\": \"67612E1189C8D039B3F6\",\n \"Name\": \"demo\",\n \"SourceType\": \"vod_source\",\n \"SourceLocationId\": \"6760EC9700006786ABB0\",\n \"SourceName\": \"vod1\",\n \"PlaybackConf\": {\n \"TransitionType\": \"Relative\",\n \"RelativePosition\": \"After\",\n \"RelativeProgramId\": \"67612E1189E3D039B3F6\",\n \"ClipRangeConf\": {\n \"Type\": \"SpecifyTimeRange\",\n \"Offset\": 30000\n }\n },\n \"AdBreaks\": [\n {\n \"SourceLocationId\": \"6760EC9700006786ABB0\",\n \"VodSourceName\": \"ad_1\",\n \"Offset\": 0,\n \"MessageType\": \"SpliceInsert\",\n \"SpliceInsertConf\": {\n \"EventID\": \"0\",\n \"AvailNum\": \"0\",\n \"AvailExpected\": \"1\",\n \"ProgramID\": \"0\"\n },\n \"Metadatas\": [\n {\n \"Key\": \"key1\",\n \"Value\": \"value1\"\n }\n ],\n \"SourceLocationName\": \"demo_source_location\"\n }\n ]\n}",
|
|
415
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"7d4b42b2-a5d4-499e-ac9b-cdabd9b46026\"\n }\n}",
|
|
416
416
|
"title": "Sample request"
|
|
417
417
|
}
|
|
418
418
|
],
|
|
@@ -426,25 +426,25 @@
|
|
|
426
426
|
],
|
|
427
427
|
"ModifyStreamPackageSource": [
|
|
428
428
|
{
|
|
429
|
-
"document": "",
|
|
430
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyStreamPackageSource\n<Common request parameters>\n\n{\n \"Id\": \"
|
|
431
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
429
|
+
"document": "Modify the StreamPackage Source information.",
|
|
430
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyStreamPackageSource\n<Common request parameters>\n\n{\n \"Id\": \"66503E8E0000930000F1\",\n \"Name\": \"source_name\",\n \"Type\": \"VOD\",\n \"PackageConfs\": [\n {\n \"GroupName\": \"group_name\",\n \"Type\": \"HLS\",\n \"Path\": \"/vod/main.m3u8\"\n }\n ]\n}",
|
|
431
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xx\"\n }\n}",
|
|
432
432
|
"title": "Sample request"
|
|
433
433
|
}
|
|
434
434
|
],
|
|
435
435
|
"ModifyStreamPackageSourceLocation": [
|
|
436
436
|
{
|
|
437
437
|
"document": "",
|
|
438
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyStreamPackageSourceLocation\n<Common request parameters>\n\n{\n \"Id\": \"
|
|
439
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
438
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyStreamPackageSourceLocation\n<Common request parameters>\n\n{\n \"Id\": \"67D7CBB600005DBB0001\",\n \"Name\": \"location_name\",\n \"BaseUrl\": \"https://test.com/base\",\n \"SegmentDeliverEnable\": true,\n \"SegmentDeliverConf\": {\n \"DefaultSegmentUrl\": \"https://test.com/\",\n \"NameServers\": [\n {\n \"Name\": \"server_name\",\n \"Url\": \"https://testserver.com/\"\n }\n ]\n },\n \"SegmentDeliverUsePackageEnable\": true\n}",
|
|
439
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xx\"\n }\n}",
|
|
440
440
|
"title": "Sample request"
|
|
441
441
|
}
|
|
442
442
|
],
|
|
443
443
|
"StartStreamPackageLinearAssemblyChannel": [
|
|
444
444
|
{
|
|
445
445
|
"document": "",
|
|
446
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartStreamPackageLinearAssemblyChannel\n<Common request parameters>\n\n{\n \"Id\": \"
|
|
447
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
446
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartStreamPackageLinearAssemblyChannel\n<Common request parameters>\n\n{\n \"Id\": \"66503E8E0000930000F3\"\n}",
|
|
447
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
448
448
|
"title": "Sample request"
|
|
449
449
|
}
|
|
450
450
|
],
|
|
@@ -459,8 +459,8 @@
|
|
|
459
459
|
"StopStreamPackageLinearAssemblyChannel": [
|
|
460
460
|
{
|
|
461
461
|
"document": "",
|
|
462
|
-
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopStreamPackageLinearAssemblyChannel\n<Common request parameters>\n\n{\n \"Id\": \"
|
|
463
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
462
|
+
"input": "POST / HTTP/1.1\nHost: mdp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopStreamPackageLinearAssemblyChannel\n<Common request parameters>\n\n{\n \"Id\": \"66503E8E0000930000F3\"\n}",
|
|
463
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xxx\"\n }\n}",
|
|
464
464
|
"title": "Sample request"
|
|
465
465
|
}
|
|
466
466
|
],
|