Querying a Task by ID
Function
This API is used to query the basic information about a code check task based on the task ID. The returned information includes the task ID, task name, project ID, project name, code repository address, branch, and configuration template ID.
Calling Method
For details, see Calling APIs.
Authorization Information
Each account root user has all the permissions required to call all APIs, but IAM users must be assigned the following required identity policy-based permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
|
Action |
Access Level |
Resource Type (*: required) |
Condition Key |
Alias |
Dependencies |
|---|---|---|---|---|---|
|
codeartscheck:task:get |
Read |
task * |
- |
- |
- |
|
- |
codeartscheck:ProjectId |
URI
GET /v3/task/{task_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
task_id |
Yes |
String |
Definition : Task ID, returned by the API for creating a check task. Each code check task, branch task, or incremental task generated through an API has a unique ID. Obtain the ID by calling the API used to . id indicates the task ID. Constraints: N/A Value range: 1 to 128 characters. Default value: N/A |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
merge_id |
No |
String |
Definition: Merge request ID. Constraints: N/A Value range: 1 to 128 characters. Default value: N/A |
|
job_id |
No |
String |
Definition : Execution record ID, that is, the unique ID of each version or quality gate scan. Obtain the ID by calling the API used to execute the check task. Constraints: N/A Value range: 1 to 64 characters. Default value: N/A |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
operator |
No |
String |
Definition: Operator. Constraints: N/A Value range: 1 to 128 characters. Default value: N/A |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
httpStatus |
String |
Definition: HTTP response status. Value range: |
|
result |
TaskBasicInfoV3 object |
Definition: Task information. Range: N/A |
|
status |
String |
Definition: API response status. Value range: |
|
Parameter |
Type |
Description |
|---|---|---|
|
avastarType |
String |
Definition: Avatar color. Value range: |
|
branchName |
String |
Definition: Branch name. Value range: 1 to 200 characters. |
|
canChangeIgnoreMode |
Boolean |
Definition: Whether the ignored file mode can be updated. Value range: |
|
canDelete |
Boolean |
Definition: Whether the user has the delete permission. Value range: |
|
canEdit |
Boolean |
Definition: Whether the user has the edit permission. Value range: |
|
canEditTemplateSwitch |
Boolean |
Definition: Whether the user has permission for switching task templates. Value range: |
|
canExecute |
Boolean |
Definition: Whether the user has the execute permission. Value range: |
|
canRead |
Boolean |
Definition: Whether the user has the read permission. Value range: |
|
checkParamList |
Array of CustomParameter objects |
Definition: Custom parameters. Range: N/A |
|
checkParamMap |
checkParamMap object |
Definition: A map-format representation of the custom parameter list checkParamList. For example, if checkParamList contains a parameter with key param1 and value value1, then checkParamMap will include a field param1 with value value1. Value range: N/A |
|
configTemplateId |
String |
Definition: ID of the task configuration template. Value range: 1 to 128 characters. |
|
createTime |
String |
Definition: Task creation time (UTC). Format: yyyy-MM-ddTHH:mm:ssZ. For example, 2025-11-28T06:55:41Z. Value range: N/A |
|
criterionSets |
Array of ConfigTemplateRuleSetInfo objects |
Definition: Rule set list. Generally, an empty array [] is returned. |
|
customParams |
Array of CustomParameter objects |
Definition: Custom parameter list. Generally, an empty array [] is returned. |
|
defaultBranchName |
String |
Definition: Name of the default branch. Value range: 1 to 200 characters. |
|
fileEncoding |
String |
Definition: File code. Value range: |
|
hwCloudRegion |
String |
Definition: Huawei Cloud region. Value range: 1 to 32 characters. |
|
id |
String |
Definition : Task ID, returned by the API for creating a check task. Each code check task, branch task, or incremental task generated through an API has a unique ID. Obtain the ID by calling the API used to . id indicates the task ID. Value range: 1 to 128 characters. |
|
includePaths |
String |
Definition: Checked directory. By default, all code in the code repository is checked. If you specify one or more directories, the files in the specified directories are checked. Value range: 1 to 200 characters. |
|
isSetMrWebhook |
Boolean |
Definition: Whether to enable the function of triggering a task when a merge request is created. Value range: |
|
isSetPushWebhook |
Boolean |
Definition: Whether to enable the function of triggering a task upon code commit. Value range: |
|
isSetWebhook |
Boolean |
Definition: Whether to enable the function of triggering a task when a merge request is created. Value range: |
|
isTemplateTask |
Boolean |
Definition: Task template or not. Range: |
|
jobId |
String |
Definition: Execution ID, which is returned by the API of code check task execution. Each code check task has a unique execution ID. Value range: 1 to 128 characters. |
|
jobTimeout |
String |
Definition: Timeout interval, in minutes. The format is fixed at xxx min, where xxx is an integer. 0 < xxx ≤ 1200. Range: N/A |
|
lastFinishedFullJobId |
String |
Definition: Execution ID of the last check task. Range: 1 to 128 characters. |
|
lastJob |
JobBasicInfoV3 object |
Definition: Execution record information. Range: N/A |
|
lastReviser |
String |
Definition: Last modifier of the task. Range: N/A |
|
lastUpdateTime |
String |
Definition: Time (UTC) when a task was last updated. Format: yyyy-MM-ddTHH:mm:ssZ. For example, 2025-11-28T06:55:41Z. Value range: N/A |
|
modelSets |
Array of strings |
Definition: Model set list. Generally, an empty array [] is returned. |
|
mrCheckBranchStrategy |
Integer |
Definition: Gate policy for the MR check branch. Value range: |
|
name |
String |
Definition: Code check task name. Value range: 1 to 128 characters. |
|
notificationConfig |
String |
Definition: Whether to use the project notification settings. The value is in the format of x,x,x,x,x,x, where x can be 0 or 1. If x is 0, the notification settings of the task are used. If x is 1, the notification settings of the project are used. From left to right, x indicates system notifications, email notifications, WeCom notifications, DingTalk notifications, Feishu notifications, and webhooks. Value range: The value is in the format of x,x,x,x,x,x, where x can be 0 or 1. |
|
owner |
String |
Definition: Owner of a code check task. Value range: 1 to 255 characters. |
|
ownerId |
String |
Definition: ID of an owner of a code check task. Value range: 1 to 64 characters. |
|
projectId |
String |
Definition : 32-character project UUID. Obtain it by calling the API used to query the project list. Value range: 32 characters. |
|
projectName |
String |
Definition: Project name. Value range: 1 to 128 characters. |
|
region |
String |
Definition: Region. The value is suzhou. Value range: suzhou. |
|
repoId |
String |
Definition: ID of the CodeArts Repo repository corresponding to the code repository address. Value range: 1 to 128 characters. |
|
repoUrl |
String |
Definition: Code repository address. Value range: 1 to 1,024 characters. |
|
reviewData |
Array of strings |
Definition: Gate configuration. Generally, an empty array [] is returned. |
|
ruleSets |
Array of strings |
Definition: Rule set configuration. Generally, an empty array [] is returned. |
|
source |
String |
Definition: Task source, typically set to "customer". Value range: customer. |
|
taskGroupId |
String |
Definition: Task group ID. Value range: 1 to 128 characters. |
|
taskIds |
Array of strings |
Definition: Task ID list. Generally, an empty array [] is returned. |
|
tenantId |
String |
Definition: Tenant ID of the task. The ID is obtained from IAM. Value range: 1 to 32 characters. |
|
useCache |
Boolean |
Definition: Whether to use the cache to query task information. Value range: |
|
useWorkspaceNotificationConfig |
Integer |
Definition: Whether to use the project notification configuration items. The value is derived by applying a bitwise NOT operation to the corresponding binary value in notificationConfig, then converting the result to a decimal number. For example, if notificationConfig is set to 1,1,0,1,0,0, its binary value is 110100. After applying a bitwise NOT operation, it becomes 001011, which converts to the decimal value 11. In this case, the value of useWorkspaceNotificationConfig is 11. Value range: 0–31 |
|
versionUpdateDelayDays |
Array of strings |
Definition: Version upgrade buffer period. Generally, an empty array [] is returned. |
|
webhookCheckMode |
Integer |
Definition: Webhook check mode. Generally, the value is 0, indicating that MRs from other code repositories are not allowed. Value range: 0 |
|
zone |
String |
Definition: Region, which is generally green. Range: green. |
|
Parameter |
Type |
Description |
|---|---|---|
|
param1 |
String |
Definition: The name of the field is the key of the custom parameter, and the value of the field is the value of the custom parameter. Value range: 1 to 8,192 characters. |
|
param2 |
String |
Definition: The name of the field is the key of the custom parameter, and the value of the field is the value of the custom parameter. Value range: 1 to 8,192 characters. |
|
Parameter |
Type |
Description |
|---|---|---|
|
isPrivate |
Boolean |
Definition: Private parameter or not. Value range: |
|
key |
String |
Definition: Key of a custom parameter. Range: 1 to 128 characters. |
|
value |
String |
Definition: Value of a custom parameter. Value range: 1 to 8,192 characters. |
|
Parameter |
Type |
Description |
|---|---|---|
|
executor |
String |
Definition: Name of the user who executes the task. Value range: 1 to 255 characters. |
|
finishTime |
String |
Definition: Execution completion time (UTC). Format: yyyy-MM-ddTHH:mm:ssZ. For example, 2025-11-28T06:55:41Z. Value range: N/A |
|
id |
String |
Definition: Execution ID, which is returned by the API of code check task execution. Each code check task has a unique execution ID. Value range: 1 to 32 characters. |
|
jobResult |
JobResultInfo object |
Definition: Execution result. Range: N/A |
|
jobType |
String |
Definition: Task type. Range: |
|
process |
ProcessInfo object |
Definition: Execution record information. Range: N/A |
|
reviewResult |
String |
Definition: Gate check result. Range: |
|
ruleSets |
Array of ConfigTemplateRuleSetInfo objects |
Definition: Rule set configurations. |
|
source |
String |
Definition: Trigger source. Value range: |
|
sourceRepoUrl |
String |
Definition: Code repository address of the source branch. Value range: 1 to 1,024 characters. |
|
startTime |
String |
Definition: Execution start time (UTC). Format: yyyy-MM-ddTHH:mm:ssZ. For example, 2025-11-28T06:55:41Z. Value range: N/A |
|
status |
String |
Definition: Task execution status. Range: |
|
subJobIds |
Array of strings |
Definition: Sub-task ID. Generally, an empty array [] is returned. |
|
subJobStatuses |
Array of strings |
Definition: Sub-task status. Generally, an empty array [] is returned. |
|
targetRepoUrl |
String |
Definition: Code repository address of the target branch. Value range: 1 to 1,024 characters. |
|
taskId |
String |
Definition : Task ID, returned by the API for creating a check task. Each code check task, branch task, or incremental task generated through an API has a unique ID. Obtain the ID by calling the API used to . id indicates the task ID. Value range: 1 to 32 characters. |
|
totalExecuteTime |
String |
Definition: Task execution duration. The format is %dm%ds, for example, 6m6s. Value range: N/A |
|
Parameter |
Type |
Description |
|---|---|---|
|
CRITICAL |
Integer |
Definition: Number of major issues. Value range: ≥0 |
|
DELAYSTATUS_COUNT |
Integer |
Definition: Number of deferred issues. Value range: ≥0 |
|
FATAL |
Integer |
Definition: Number of critical issues. Value range: ≥0 |
|
GENERAL |
Integer |
Definition: Number of minor issues. Value range: ≥0 |
|
INFO |
Integer |
Definition: Number of information issues. Value range: ≥0 |
|
PROMPT |
Integer |
Definition: Number of suggestions. Value range: ≥0 |
|
codeLine |
Integer |
Definition: Number of scanned code lines, excluding blank and comment lines. Value range: ≥0 |
|
defectCount |
Integer |
Definition: Total bugs. Value range: ≥0 |
|
dismissed |
Integer |
Definition: Number of ignored issues. Value range: ≥0 |
|
fileTotal |
Integer |
Definition: Total number of files. Value range: ≥0 |
|
fixed |
Integer |
Definition: Number of fixed issues. Value range: ≥0 |
|
id |
String |
Definition: Execution ID, which is returned by the API of code check task execution. Each code check task has a unique execution ID. Value range: N/A |
|
jobId |
String |
Definition: Execution ID, which is returned by the API of code check task execution. Each code check task has a unique execution ID. Value range: N/A |
|
newUnsolvedDefectCount |
Integer |
Definition: Number of new issues that are not resolved. Value range: ≥0 |
|
nonSecurityDefectCount |
Integer |
Definition: Number of non-security issues. Value range: ≥0 |
|
reviewResult |
String |
Definition: Gate check result. Range: |
|
securityDefectCount |
Integer |
Definition: Number of security issues. Value range: ≥0 |
|
solvedDefectCount |
Integer |
Definition: Number of resolved issues. Range: N/A |
|
unsolvedDefectCount |
Integer |
Definition: Number of unresolved issues. Range: N/A |
|
Parameter |
Type |
Description |
|---|---|---|
|
exeTime |
String |
Definition: Execution time, in seconds. Range: N/A |
|
executeTime |
String |
Definition: Execution time. The format is %dm%ds, for example, 6m6s. Value range: N/A |
|
message |
String |
Definition: Execution process. Range: N/A |
|
process |
String |
Definition: Task execution progress, in percentage. Range: N/A |
|
status |
String |
Definition: Task execution status. Range: |
|
Parameter |
Type |
Description |
|---|---|---|
|
language |
String |
Definition: Language type. Value range: Custom language or system language. The following system languages are supported: |
|
ruleSetId |
String |
Definition: Rule set ID. Value range: 1 to 32 characters. |
Status code: 400
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Definition: Error code. Value range: N/A |
|
error_msg |
String |
Definition: Error message. Value range: N/A |
Status code: 401
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Definition: Error code. Value range: N/A |
|
error_msg |
String |
Definition: Error message. Value range: N/A |
Example Requests
Query the information about the code check task whose ID is 897acf5exxx48a5013cd.
GET https://{endpoint}/v3/task/897acf5exxx48a5013cd
Example Responses
Status code: 200
Request succeeded!
{
"httpStatus" : "OK",
"result" : {
"avastarType" : "pure-tomato",
"branchName" : "master",
"canChangeIgnoreMode" : true,
"canDelete" : true,
"canEdit" : true,
"canEditTemplateSwitch" : true,
"canExecute" : true,
"canRead" : true,
"checkParamList" : [ {
"isPrivate" : false,
"key" : "param1",
"value" : "value1"
}, {
"isPrivate" : false,
"key" : "param2",
"value" : "value2"
} ],
"checkParamMap" : {
"param1" : "value1",
"param2" : "value2"
},
"configTemplateId" : "8781c57e500011f0b179fa163eed4919",
"createTime" : "2025-06-23T07:06:05Z",
"criterionSets" : [ ],
"customParams" : [ ],
"defaultBranchName" : "master",
"fileEncoding" : "UTF-8",
"hwCloudRegion" : "cn-north-7",
"id" : "5c4005220809463fbcb39c02ea0a40d0",
"includePaths" : "",
"isSetMrWebhook" : false,
"isSetPushWebhook" : true,
"isSetWebhook" : false,
"isTemplateTask" : false,
"jobId" : "72d4dba817cf44bcab4a1fb0eb34525b",
"jobTimeout" : "1200 min",
"lastFinishedFullJobId" : "72d4dba817cf44bcab4a1fb0eb34525b",
"lastJob" : {
"executor" : "devcloud_codecheck_01",
"finishTime" : "2025-09-25T08:43:15Z",
"id" : "72d4dba817cf44bcab4a1fb0eb34525b",
"jobResult" : {
"CRITICAL" : 27,
"DELAYSTATUS_COUNT" : 0,
"FATAL" : 0,
"GENERAL" : 6,
"INFO" : 0,
"PROMPT" : 3,
"codeLine" : 636,
"defectCount" : 36,
"dismissed" : 1,
"fileTotal" : 5,
"fixed" : 0,
"id" : "72d4dba817cf44bcab4a1fb0eb34525b",
"jobId" : "72d4dba817cf44bcab4a1fb0eb34525b",
"newUnsolvedDefectCount" : 0,
"nonSecurityDefectCount" : 0,
"reviewResult" : "error",
"securityDefectCount" : 0,
"solvedDefectCount" : 3,
"unsolvedDefectCount" : 33
},
"jobType" : "FULL",
"process" : {
"exeTime" : "125",
"executeTime" : "2m5s",
"message" : "2025/09/25 16:42:23 GMT+08:00 Running on server:10.75.***.***\n2025/09/25 16:42:24 GMT+08:00 waiting subJob to execute\n2025/09/25 16:43:08 GMT+08:00 start sync fixed defect snapshotData!\n2025/09/25 16:43:08 GMT+08:00 sync defect SnapshotData success!\n2025/09/25 16:43:08 GMT+08:00 flush redis cache successfully!\n2025/09/25 16:43:08 GMT+08:00 [WARNING] : Some languages in the code are not checked! Languages in code: [GROOVY, SQL, JAVASCRIPT], while in rules: [CSS, JAVASCRIPT]\n2025/09/25 16:43:08 GMT+08:00 all subJob finish!\n",
"process" : "100%",
"rate" : "100%",
"stageStatuses" : [ {
"createTime" : "2025-09-25T08:41:07Z",
"endTime" : "2025-09-25T08:41:09Z",
"exeTime" : "2",
"executeTime" : "2s",
"message" : "Task initialized.",
"stageName" : "init",
"stageType" : "DEFAULT",
"status" : "success"
}, {
"createTime" : "2025-09-25T08:43:10Z",
"endTime" : "2025-09-25T08:43:12Z",
"exeTime" : "2",
"executeTime" : "2s",
"message" : "2025/09/25 16:42:23 GMT+08:00 Running on server:10.75.***.***\n2025/09/25 16:42:24 GMT+08:00 waiting subJob to execute\n2025/09/25 16:43:08 GMT+08:00 start sync fixed defect snapshotData!\n2025/09/25 16:43:08 GMT+08:00 sync defect SnapshotData success!\n2025/09/25 16:43:08 GMT+08:00 flush redis cache successfully!\n2025/09/25 16:43:08 GMT+08:00 [WARNING] : Some languages in the code are not checked! Languages in code: [GROOVY, SQL, JAVASCRIPT], while in rules: [CSS, JAVASCRIPT]\n2025/09/25 16:43:08 GMT+08:00 all subJob finish!\n",
"stageName" : "report",
"stageType" : "DEFAULT",
"status" : "success"
} ],
"status" : "success",
"subJobIds" : [ "83a0e82e64594bd29b58dc1505525dd0", "8854867535de4846b94e77f1946a3198" ],
"subJobStatuses" : [ {
"createTime" : "2025-09-25T08:41:13Z",
"endTime" : "2025-09-25T08:42:25Z",
"exeTime" : "72",
"executeTime" : "1m12s",
"message" : "2025/09/25 16:42:24 GMT+08:00 Running on server:10.75.***.***\n2025/09/25 16:42:24 GMT+08:00 download defect file to oss success: result/report/20250925/83a0e82e64594bd29b58dc1505525dd0_final.zip\n2025/09/25 16:42:24 GMT+08:00 start defect parse and save...\n2025/09/25 16:42:24 GMT+08:00 start parse and save metric data...\n2025/09/25 16:42:24 GMT+08:00 metric data save DB success, count: 149\n2025/09/25 16:42:24 GMT+08:00 defect save DB success, defectCount:11\n2025/09/25 16:42:24 GMT+08:00 subJob completed:83a0e82e64594bd29b58dc1505525dd0\n",
"process" : "100%",
"stageStatuses" : [ {
"createTime" : "2025-09-25T08:41:13Z",
"endTime" : "2025-09-25T08:42:23Z",
"exeTime" : "70",
"executeTime" : "1m10s",
"message" : "Task checked.",
"slaveCreateTime" : "2025-09-25T16:41:20Z",
"slaveEndTime" : "2025-09-25T08:42:23Z",
"stageName" : "check",
"stageType" : "OCTOPUS",
"status" : "success"
}, {
"createTime" : "2025-09-25T08:42:23Z",
"endTime" : "2025-09-25T08:42:25Z",
"exeTime" : "2",
"executeTime" : "2s",
"message" : "2025/09/25 16:42:24 GMT+08:00 Running on server:10.75.***.***\n2025/09/25 16:42:24 GMT+08:00 download defect file to oss success: result/report/20250925/83a0e82e64594bd29b58dc1505525dd0_final.zip\n2025/09/25 16:42:24 GMT+08:00 start defect parse and save...\n2025/09/25 16:42:24 GMT+08:00 start parse and save metric data...\n2025/09/25 16:42:24 GMT+08:00 metric data save DB success, count: 149\n2025/09/25 16:42:24 GMT+08:00 defect save DB success, defectCount:11\n2025/09/25 16:42:24 GMT+08:00 subJob completed:83a0e82e64594bd29b58dc1505525dd0\n",
"stageName" : "report",
"stageType" : "REPORT",
"status" : "success"
} ],
"status" : "success",
"subJobId" : "83a0e82e64594bd29b58dc1505525dd0",
"toolName" : "uccp_compile(farmland,codemars,cmetrics)"
} ]
},
"reviewResult" : "error",
"ruleSets" : [ ],
"source" : "customer",
"sourceRepoUrl" : "git@codehub.devcloud.example.com:e04b3575a85749ed8387d858009d17a8/Groovy.git",
"startTime" : "2025-09-25T08:41:04Z",
"status" : "success",
"subJobIds" : [ ],
"subJobStatuses" : [ {
"createTime" : "2025-09-25T08:41:13Z",
"endTime" : "2025-09-25T08:42:25Z",
"exeTime" : "72",
"executeTime" : "1m12s",
"message" : "2025/09/25 16:42:24 GMT+08:00 Running on server:10.75.***.***\n2025/09/25 16:42:24 GMT+08:00 download defect file to oss success: result/report/20250925/83a0e82e64594bd29b58dc1505525dd0_final.zip\n2025/09/25 16:42:24 GMT+08:00 start defect parse and save...\n2025/09/25 16:42:24 GMT+08:00 start parse and save metric data...\n2025/09/25 16:42:24 GMT+08:00 metric data save DB success, count: 149\n2025/09/25 16:42:24 GMT+08:00 defect save DB success, defectCount:11\n2025/09/25 16:42:24 GMT+08:00 subJob completed:83a0e82e64594bd29b58dc1505525dd0\n",
"process" : "100%",
"stageStatuses" : [ {
"createTime" : "2025-09-25T08:41:13Z",
"endTime" : "2025-09-25T08:42:23Z",
"exeTime" : "70",
"executeTime" : "1m10s",
"message" : "Task checked.",
"slaveCreateTime" : "2025-09-25T16:41:20Z",
"slaveEndTime" : "2025-09-25T08:42:23Z",
"stageName" : "check",
"stageType" : "OCTOPUS",
"status" : "success"
}, {
"createTime" : "2025-09-25T08:42:23Z",
"endTime" : "2025-09-25T08:42:25Z",
"exeTime" : "2",
"executeTime" : "2s",
"message" : "2025/09/25 16:42:24 GMT+08:00 Running on server:10.75.***.***\n2025/09/25 16:42:24 GMT+08:00 download defect file to oss success: result/report/20250925/83a0e82e64594bd29b58dc1505525dd0_final.zip\n2025/09/25 16:42:24 GMT+08:00 start defect parse and save...\n2025/09/25 16:42:24 GMT+08:00 start parse and save metric data...\n2025/09/25 16:42:24 GMT+08:00 metric data save DB success, count: 149\n2025/09/25 16:42:24 GMT+08:00 defect save DB success, defectCount:11\n2025/09/25 16:42:24 GMT+08:00 subJob completed:83a0e82e64594bd29b58dc1505525dd0\n",
"stageName" : "report",
"stageType" : "REPORT",
"status" : "success"
} ],
"status" : "success",
"subJobId" : "83a0e82e64594bd29b58dc1505525dd0",
"toolName" : "uccp_compile(farmland,codemars,cmetrics)"
} ],
"targetRepoUrl" : "git@codehub.devcloud.example.com:e04b3575a85749ed8387d858009d17a8/Groovy.git",
"taskId" : "5c4005220809463fbcb39c02ea0a40d0",
"totalExecuteTime" : "2m11s"
},
"lastReviser" : "4050544ea69a40dabf28310fc3d10a09",
"lastUpdateTime" : "2025-09-25T08:37:58Z",
"modelSets" : [ ],
"mrCheckBranchStrategy" : 0,
"name" : "Edge component PortalService called task.",
"needGetGitBlame" : true,
"notificationConfig" : "0,0,0,0,0,0",
"owner" : "devcloud_codecheck_01",
"ownerId" : "4050544ea69a40dabf28310fc3d10a09",
"projectId" : "e04b3575a85749ed8387d858009d17a8",
"projectName" : "Project name-test",
"region" : "suzhou",
"repoId" : "2111895452",
"repoUrl" : "git@codehub.devcloud.example.com:e04b3575a85749ed8387d858009d17a8/Groovy.git",
"reviewData" : [ ],
"ruleSets" : [ ],
"source" : "customer",
"taskGroupId" : "1660a1c11970432094cbf133062b847b",
"taskIds" : [ ],
"tenantId" : "389efb76b1354e4482eabeed25c895e4",
"useCache" : false,
"useWorkspaceNotificationConfig" : 0,
"versionUpdateDelayDays" : [ ],
"webhookCheckMode" : 0,
"zone" : "green"
},
"status" : "success"
}
Status code: 400
Bad Request
{
"error_code" : "CC.xxxxxxxx.400",
"error_msg" : "Verify request parameter failed. Check whether the request parameters are correct."
}
Status code: 401
Unauthorized
{
"error_code" : "CC.00000003",
"error_msg" : "Authentication information expired."
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Request succeeded! |
|
400 |
Bad Request |
|
401 |
Unauthorized |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot