Domain name for API request: mps.intl.tencentcloudapi.com.
Based on the workflow ID, get the workflow details list.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeWorkflows. |
| Version | Yes | String | Common Params. The value used for this API: 2019-06-12. |
| Region | No | String | Common Params. This parameter is not required for this API. |
| WorkflowIds.N | No | Array of Integer | Workflow ID filter condition, with an array length limit of 100. |
| Status | No | String | Workflow status. Value range: |
| Offset | No | Integer | Paging offset. Default value: 0. |
| Limit | No | Integer | Number of returned entries. Default value: 10. Maximum value: 100. |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | Total number of records that meet filter conditions. |
| WorkflowInfoSet | Array of WorkflowInfo | Workflow information array. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to query the workflow with ID 10001.
https://mps.intl.tencentcloudapi.com/?Action=DescribeWorkflows
&WorkflowIds.0=10001
&<Common request parameters>
{
"Response": {
"TotalCount": 1,
"WorkflowInfoSet": [
{
"AiAnalysisTask": null,
"AiContentReviewTask": {
"Definition": 10
},
"AiRecognitionTask": null,
"CreateTime": "2024-04-03T08:29:26Z",
"MediaProcessTask": {
"AdaptiveDynamicStreamingTaskSet": [],
"AnimatedGraphicTaskSet": [],
"ImageSpriteTaskSet": [],
"SampleSnapshotTaskSet": [],
"SnapshotByTimeOffsetTaskSet": [],
"TranscodeTaskSet": []
},
"OutputDir": "",
"OutputStorage": {
"CosOutputStorage": {
"Bucket": "mpstest-12345567",
"Region": "ap-nanjing"
},
"S3OutputStorage": null,
"Type": "COS"
},
"Status": "Enabled",
"TaskNotifyConfig": null,
"TaskPriority": -10,
"Trigger": {
"AwsS3FileUploadTrigger": null,
"CosFileUploadTrigger": {
"Bucket": "mpstest-12345567",
"Dir": "/mps/",
"Formats": [
""
],
"Region": "ap-nanjing"
},
"Type": "CosFileUpload"
},
"UpdateTime": "2024-08-05T07:04:30Z",
"WorkflowId": 10001,
"WorkflowName": "Workflow test"
}
],
"RequestId": "73054d13-abcdef1-8c28-7ce8698ef8b9"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation.InvalidMpsUser | Operation failed: illegal mps user. |
| InternalError | Internal error. |
| InvalidParameterValue | Parameter value error. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários