ci:UpdateDocProcessQueue permission in the action of the authorization policy. For all operation interfaces supported by Cloud Infinite, see CI action.PUT /docqueue/<queueId> HTTP/1.1Host: <BucketName-APPID>.ci.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>Content-Length: <length>Content-Type: application/xml<body>
<Request><Name>Queue Name</Name><State></State><NotifyConfig><Type></Type><Url></Url><Event></Event></NotifyConfig></Request>
Node Name (Keyword) | Parent Node | Description | Type | Required or Not |
Request | None. | Container for saving requests | Container | Yes |
Node Name (Keyword) | Parent Node | Description | Type | Required or Not | Limit |
Name | Request | Queue Name | String | Yes | 100-character limit |
State | Request | Queue Status | String | Yes | 1. Active indicates that jobs in the Queue are scheduled for transcoding execution by the document preview service. 2. Paused indicates that the Queue is suspended. Jobs will no longer be scheduled for execution by the Document Preview Service. All jobs in the Queue remain in the Submitted state. Tasks already in progress will continue executing and remain unaffected. |
NotifyConfig | Request | Notification Channel | Container | Yes | Third-party callback Url |
Node Name (Keyword) | Parent Node | Description | Type | Required or Not | Limit |
Url | Request.NotifyConfig | callback configuration | String | No | 100-character limit |
Type | Request.NotifyConfig | Callback type, Normal callback: Url | String | No | 100-character limit |
Event | Request.NotifyConfig | Callback Event, Completion of the Document Preview Task | String | No | 100-character limit |
State | Request.NotifyConfig | Callback Switch, Off, On | String | No | 100-character limit |
<Response><RequestId>NTk0MjdmODlfMjQ4OGY3XzYzYzhf****</RequestId><Queue><QueueId></QueueId><Name></Name><State>Active</State><NotifyConfig><Url>mts-topic-1</Url><Type></Type><Event></Event></NotifyConfig><CreateTime></CreateTime><UpdateTime></UpdateTime></Queue></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 |
Queue | Response | Queue information. For details, see Response.QueueList in DescribeDocProcessQueues | Container |
PUT /docqueue/p2505d57bdf4c4329804b58a6a5fb1572 HTTP/1.1Connection: keep-aliveAccept-Encoding: gzip, deflateAccept: */*User-Agent: cos-python-sdk-v5.3.2Host: examplebucket-1250000000.ci.ap-chongqing.myqcloud.comContent-Type: application/xmlContent-Length: 279Authorization: Authorization<?xml version="1.0" encoding="UTF-8" ?><Request><State>Active</State><Name>markjrzhang4</Name><NotifyConfig><Url>http://google.com/</Url><Type>Url</Type><Event>TransCodingFinish</Event></NotifyConfig></Request>
HTTP/1.1 200 OKDate: Mon, 27 Jul 2020 08:22:41 GMTContent-Type: application/xmlContent-Length: 641Connection: keep-aliveServer: tencent-cix-ci-request-id: NWYxZThlZDBfYzc2OTQzNjRfMzUxYV8x****<?xml version="1.0" encoding="utf-8"?><Response><RequestId>NWYxZThlZDBfYzc2OTQzNjRfMzUxYV8x****</RequestId><Queue><QueueId>p2505d57bdf4c4329804b58a6a5fb1572</QueueId><Name>markjrzhang4</Name><State>Active</State><NotifyConfig><Url>http://example.com/</Url><Event>TransCodingFinish</Event><Type>Url</Type><State>On</State></NotifyConfig><MaxSize>10000</MaxSize><MaxConcurrent>10</MaxConcurrent><CreateTime>2020-07-24T22:42:27+0800</CreateTime><UpdateTime>2020-07-27T16:22:40+0800</UpdateTime><BucketId>test007-1251704708</BucketId><Category>DocProcessing</Category></Queue></Response>
Feedback