tencent cloud

Cloud Infinite

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Product Overview
Product Strengths
Use Cases
Feature Overview
Regions and Domains
Specifications and Limits
Billing
Billing Overview
Billing Mode
Billable Items
Free Tier
Payment Overdue
Viewing Bill Details
FAQs
Getting Started
Registering and Logging In
Bind Bucket
Uploading and Processing File
Downloading and Deleting Images
Unbinding Buckets
Using CI via COS
Features
Image Processing
Media Processing
Content Moderation
AI Content Recognition
File Processing
Smart Voice
File processing
User Guide
Overview
Bucket Management
Smart Toolbox
Job and Workflow
Data Monitoring
Usage statistics
Use Cases
Copyright Protection Solutions
Image Processing Practices
Working with API Authorization Policies
Workflow Practices
API Documentation
API Overview
Structure
Common Request Headers
Common Response Headers
Activate Vast Service
Image Processing
AI-Based Content Recognition
Smart Audio
Media Processing
Content Moderation
Document Processing
File Processing
Job and Workflow
Cloud Virus Detection
Error Codes
Request Signature
SDK Documentation
SDK Overview
Android SDK
iOS SDK
COS Android SDK
C SDK
C++ SDK
.NET(C#) SDK
Go SDK
COS iOS SDK
Java SDK
JavaScript SDK
Node.js SDK
PHP SDK
Python SDK
Mini Program SDK
Personal Information Protection Policy for SDK
Security and Compliance
Permission ‍Management
FAQs
Basic Settings
Document Processing
Media Processing
Content Recognition
Smart Audio
Agreements
Service Level Agreement
Contact Us
Glossary

Retrieve the Eligible Task List

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2025-09-09 20:46:31

Feature Description

Retrieve the eligible task list.

Authorization Description

When using with a sub-account, the ci:DescribeMediaJobs permission is required. For details, see Cloud Infinite actions.

Activating a Service

Using this feature requires enabling Cloud Infinite in advance and binding a bucket. For details, see Binding a Bucket.

Use Limits

When using this API, please first confirm the relevant restrictions. For details, see Usage Limits.


Request

Request sample

GET /jobs?size=&states=&tag=&queueId=&startCreationTime=&endCreationTime= HTTP/1.1
Host: <BucketName-APPID>.ci.<Region>.myqcloud.com
Date: <GMT Date>
Authorization: <Auth String>

Note:
Authorization: Auth String. For details, see Request Signature document.

Request parameters

The parameters are as described below:
Node Name (Keyword)
Parent Node
Description
Type
Required or Not
queueId
None.
Pull tasks under this queue ID.
String
No
queueType
None.
Pull tasks under the queue type, and they do not take effect simultaneously with queueId. When both exist, queueId takes precedence.
String
No
tag
None.
Task Tag.
String
Yes
workflowId
None.
Workflow ID that triggers the task.
String
No
inventoryTriggerJobId
None.
ID of the existing triggered task that triggered this task.
String
No
inputObject
None.
Enter the input file name for this task. Only exact matching is supported.
String
No
orderByTime
None.
Desc or Asc. Default is Desc.
String
No
nextToken
None.
Request context, used for pagination. Returned value from last time.
String
No
size
None.
Maximum number of tasks to pull. Default is 10. Maximum is 100.
Integer
No
states
None.
Pull tasks in the status, separated by ,, supporting multiple statuses: All, Submitted, Running, Success, Failed, Pause, Cancel. Default is All.
String
No
startCreationTime
None.
Pull tasks with a creation time later than this time. Format: %Y-%m-%dT%H:%M:%S%z, example: 2001-01-01T00:00:00+0800.
String
No
endCreationTime
None.
Pull tasks created before this time. Format: %Y-%m-%dT%H:%M:%S%z, Example: 2001-01-01T23:59:59+0800.
String
No
queueType supports the following types:
Queue Type
Media processing
Transcoding
Intelligent Voice
Speeching
Image Processing
PicProcess
AI Content Recognition (AI CR)
AIProcess
Accelerated transcoding
SpeedTranscoding
Supports the following types of tags:
Task type
tag
Media processing
audio and video transcoding
Transcode
video-to-GIF
Animation
image quality enhancement
VideoEnhance
Video screenshot
Snapshot
intelligent cover
SmartCover
Audio/Video splicing
Concat
highlights
VideoMontage
audio and video repackaging
Segment
digital watermark
DigitalWatermark
extract digital watermark
ExtractDigitalWatermark
Video Tagging
VideoTag
retrieve media information
MediaInfo
Separation of audio and video stream
StreamExtract
video quality analysis
QualityEstimate
Video Watermark
Watermark
Image Processing
Image Processing
PicProcess
Intelligent Voice
Automatic Speech Recognition (ASR)
SpeechRecognition
Audio Noise Reduction
NoiseReduction
Voice Separation
VoiceSeparate
Text To Speech (TTS)
Tts
AI-based content recognition
Translation
Translation
Word Segmentation
WordsGeneralize
Video Object Detection
VideoTargetRec
Video Portrait Matting
SegmentVideoBody
video splitting
SplitVideoParts

Request header

This API only uses common request headers. For details, see Common Request Headers documentation.

Request body

This request has no request body.

Response

Response Headers

This API only returns the public response header. For details, see Common Response Headers documentation.

Response Body

The response body is returned as application/xml. An example including the complete node data is shown below:
<Response>
<JobsDetail>
...
</JobsDetail>
<NextToken></NextToken>
</Response>
The data are as follows:
Node Name (Keyword)
Parent Node
Description
Type
Response
None.
Container to save results
Container
Container node Response content:
Node Name (Keyword)
Parent Node
Description
Type
JobsDetail
Response
Job details
Container array
NextToken
Response
Pagination context Token
String
For different task types, the content of JobsDetail varies. Please refer to the following link:
Media Processing
Video tag
Image Processing
Intelligent Voice
AI-based content recognition

Error Codes

This request returns common error responses and error codes. For more information, see Error Codes.

Examples

Request

GET /jobs?queueId=p2242ab62c7c94486915508540933a2c6&tag=Transcode HTTP/1.1
Authorization: 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-chongqing.myqcloud.com


Response

HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: 666
Connection: keep-alive
Date: Mon, 28 Jun 2022 15:23:12 GMT
Server: tencent-ci
x-ci-request-id: NjMxMDJhYTNfMThhYTk0MGFfYmU1OV8zZjc=

<Response>
<JobsDetail>
<Code>Success</Code>
</Message>
<JobId>j8d121820f5e411ec926ef19d53ba9c6f</JobId>
<State>Running</State>
<Progress>30</Progress>
<CreationTime>2022-06-27T15:23:12+0800</CreationTime>
<StartTime>2022-06-27T15:23:13+0800</StartTime>
<EndTime>-</EndTime>
<QueueId>p2242ab62c7c94486915508540933a2c6</QueueId>
<Tag>Transcode</Tag>
<Input>
<BucketId>test-123456789</BucketId>
<Object>input/demo.mp4</Object>
<Region>ap-chongqing</Region>
</Input>
<Operation>
<TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
<WatermarkTemplateId>t1318c5f428d474afba1797f84091cbe22</WatermarkTemplateId>
<WatermarkTemplateId>t1318c5f428d474afba1797f84091cbe23</WatermarkTemplateId>
<WatermarkTemplateId>t1318c5f428d474afba1797f84091cbe24</WatermarkTemplateId>
<RemoveWatermark>
<Dx>150</Dx>
<Dy>150</Dy>
<Width>75</Width>
<Height>75</Height>
</RemoveWatermark>
<DigitalWatermark>
<Type>Text</Type>
<Message>123456789ab</Message>
<Version>V1</Version>
<IgnoreError>false</IgnoreError>
<State>Running</State>
</DigitalWatermark>
<Output>
<Region>ap-chongqing</Region>
<Bucket>test-123456789</Bucket>
<Object>output/out.mp4</Object>
</Output>
<UserData>This is my data.</UserData>
<JobLevel>0</JobLevel>
</Operation>
</JobsDetail>
<JobsDetail>
<Code>Success</Code>
</Message>
<JobId>j9c0a4726f6ac11ec96aaa9b64ab18d00</JobId>
<State>Success</State>
<Progress>100</Progress>
<CreationTime>2022-06-27T15:23:12+0800</CreationTime>
<StartTime>2022-06-27T15:23:13+0800</StartTime>
<EndTime>2022-06-27T15:24:33+0800</EndTime>
<QueueId>p2242ab62c7c94486915508540933a2c6</QueueId>
<Tag>Transcode</Tag>
<Input>
<BucketId>test-123456789</BucketId>
<Object>input/demo.mp4</Object>
<Region>ap-chongqing</Region>
</Input>
<Operation>
<TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
<WatermarkTemplateId>t1318c5f428d474afba1797f84091cbe22</WatermarkTemplateId>
<WatermarkTemplateId>t1318c5f428d474afba1797f84091cbe23</WatermarkTemplateId>
<WatermarkTemplateId>t1318c5f428d474afba1797f84091cbe24</WatermarkTemplateId>
<RemoveWatermark>
<Dx>150</Dx>
<Dy>150</Dy>
<Width>75</Width>
<Height>75</Height>
</RemoveWatermark>
<DigitalWatermark>
<Type>Text</Type>
<Message>123456789ab</Message>
<Version>V1</Version>
<IgnoreError>false</IgnoreError>
<State>Running</State>
</DigitalWatermark>
<Output>
<Region>ap-chongqing</Region>
<Bucket>test-123456789</Bucket>
<Object>output/out.mp4</Object>
</Output>
<UserData>This is my data.</UserData>
<JobLevel>0</JobLevel>
<MediaInfo>
<Format>
<Bitrate>834.736000</Bitrate>
<Duration>13.654000</Duration>
<FormatLongName>QuickTime / MOV</FormatLongName>
<FormatName>mov,mp4,m4a,3gp,3g2,mj2</FormatName>
<NumProgram>0</NumProgram>
<NumStream>2</NumStream>
<Size>1424687</Size>
<StartTime>0.000000</StartTime>
</Format>
<Stream>
<Audio>
<Bitrate>104.047000</Bitrate>
<Channel>2</Channel>
<ChannelLayout>stereo</ChannelLayout>
<CodecLongName>AAC (Advanced Audio Coding)</CodecLongName>
<CodecName>aac</CodecName>
<CodecTag>0x6134706d</CodecTag>
<CodecTagString>mp4a</CodecTagString>
<CodecTimeBase>1/44100</CodecTimeBase>
<Duration>13.653311</Duration>
<Index>1</Index>
<Language>und</Language>
<SampleFmt>fltp</SampleFmt>
<SampleRate>44100</SampleRate>
<StartTime>0.000000</StartTime>
<Timebase>1/44100</Timebase>
</Audio>
<Subtitle/>
<Video>
<AvgFps>25.000000</AvgFps>
<Bitrate>763.774000</Bitrate>
<CodecLongName>H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10</CodecLongName>
<CodecName>h264</CodecName>
<CodecTag>0x31637661</CodecTag>
<CodecTagString>avc1</CodecTagString>
<CodecTimeBase>1/12800</CodecTimeBase>
<ColorPrimaries>bt470bg</ColorPrimaries>
<ColorRange>tv</ColorRange>
<ColorTransfer>smpte170m</ColorTransfer>
<Duration>12.960000</Duration>
<Fps>25.000000</Fps>
<HasBFrame>0</HasBFrame>
<Height>960</Height>
<Index>0</Index>
<Language>und</Language>
<Level>10</Level>
<NumFrames>324</NumFrames>
<PixFormat>yuv420p</PixFormat>
<Profile>High</Profile>
<RefFrames>1</RefFrames>
<Rotation>0.000000</Rotation>
<StartTime>0.000000</StartTime>
<Timebase>1/12800</Timebase>
<Width>544</Width>
</Video>
</Stream>
</MediaInfo>
<MediaResult>
<OutputFile>
<Bucket>test-123456789</Bucket>
<Region>ap-chongqing</Region>
<ObjectName>output/out.mp4</ObjectName>
<Md5Info>
<Md5>3df1f845d2ffd20a525a93ec40014d90</Md5>
<ObjectName>output/out.mp4</ObjectName>
</Md5Info>
</OutputFile>
</MediaResult>
</Operation>
</JobsDetail>
<NextToken>225508</NextToken>
</Response>


Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan