History
Introduction
API Category
Making API Requests
Region APIs
Instance APIs
Cloud Hosting Cluster APIs
Image APIs
Instance Launch Template APIs
Placement Group APIs
Key APIs
Security Group APIs
Network APIs
Data Types
Error Codes
PUT /playKey HTTP/1.1Host: <BucketName-APPID>.ci.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>Content-Length: <length>Content-Type: application/xml
Parameter | Parent Node | Description | Type | Required |
masterPlayKey | None | Primary playback key Length: 6 to 40 characters | String | No (either masterPlayKey or backupPlayKey must exist) |
backupPlayKey | None | Backup playback key Length limit: 6 to 40 characters. | String | No |
<Response><RequestId></RequestId><PlayKeyList><MasterPlayKey></MasterPlayKey><BackupPlayKey></BackupPlayKey></PlayKeyList></Response>
Node Name (Keyword) | Parent Node | Description | Type |
Response | None | Container for saving results | Container |
Node Name (Keyword) | Parent Node | Description | Type |
RequestId | Response | Unique request ID | String |
PlayKeyList | Response | Container for saving playback keys | Container |
Node Name (Keyword) | Parent Node | Description | Type |
MasterPlayKey | Response.PlayKeyList | Primary playback key | String |
BackupPlayKey | Response.PlayKeyList | Backup playback key | String |
PUT /playKey?masterPlayKey=abdcfeafdavdaa&backupPlayKey=fqefefdavdaedfdsfva HTTP/1.1Authorization: q-sign-algorithm=sha1&q-ak=**********************************&q-sign-time=1497530202;1497610202&q-key-time=1497530202;1497610202&q-header-list=&q-url-param-list=&q-signature=**************************************Host: test-1234567890.ci.ap-beijing.myqcloud.comContent-Length: 0Content-Type: application/xml
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 100Connection: keep-aliveDate: Thu, 14 Jul 2022 12:37:29 GMTServer: tencent-cix-ci-request-id: NTk0MjdmODlfMjQ4OGY3XzYzYzhf****<Response><RequestId>NjQ0NGNlNDZfMThhYTk0MGFfY*********</RequestId><PlayKeyList><MasterPlayKey>abdcfeafdavdaa</MasterPlayKey><BackupPlayKey>fqefefdavdaedfdsfva</BackupPlayKey></PlayKeyList></Response>
フィードバック