CreateMediaBucket
) is used to bind a media bucket (i.e., authorizing the media processing service role to access the bucket).POST /mediabucket HTTP/1.1Host: <BucketName-APPID>.ci.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>Content-Length: <length>Content-Type: application/xml
<Response><RequestId>NTk0MjdmODlfMjQ4OGY3XzYzYzhf****</RequestId><MediaBucket><BucketId></BucketId><Region></Region><CreateTime></CreateTime></MediaBucket></Response>
Node Name (Keyword) | Parent Node | Description | Type |
Response | None | Response container | Container |
Response
has the following sub-nodes:Node Name (Keyword) | Parent Node | Description | Type |
RequestId | Response | Unique ID of the request | String |
MediaBucket | Response | Container |
POST /mediabucket HTTP/1.1Authorization:q-sign-algorithm=sha1&q-ak=AKIDZfbOAo7cllgPvF9cXFrJD0a1ICvR****&q-sign-time=1497530202;1497610202&q-key-time=1497530202;1497610202&q-header-list=&q-url-param-list=&q-signature=28e9a4986df11bed0255e97ff90500557e0e****Host:examplebucket-1250000000.ci.ap-beijing.myqcloud.comContent-Length: 0Content-Type: application/xml
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 100Connection: keep-aliveDate: Thu, 15 Jun 2017 12:37:29 GMTServer: tencent-cix-ci-request-id: NTk0MjdmODlfMjQ4OGY3XzYzYzhf****<Response><RequestId>NTk0MjdmODlfMjQ4OGY3XzYzYzhf****</RequestId><MediaBucket><BucketId>examplebucket-1250000000</BucketId><Region>ap-beijing</Region><CreateTime>2019-11-15T12:12:12+0800</CreateTime></MediaBucket></Response>
Apakah halaman ini membantu?