This API is used to query the algorithm type for data processing.
GET /v2/{project_id}/processor-tasks/items
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
None
Status code: 200
Parameter |
Type |
Description |
|---|---|---|
items |
Array of ProcessorTaskItem objects |
Algorithm type list. |
total |
Integer |
Total number. |
Querying the List of the Algorithm Type for Data Processing
GET https://{endpoint}/v2/{project_id}/processor-tasks/items
Status code: 200
OK
{
"total" : 4,
"items" : [ {
"template_id" : "sys_data_cleaning",
"label_zh" : "label_zh to translate",
"label_en" : "data cleaning"
}, {
"template_id" : "sys_data_validation",
"label_zh" : "label_zh to translate",
"label_en" : "data validation"
}, {
"template_id" : "sys_data_selection",
"label_zh" : "label_zh to translate",
"label_en" : "data selection"
}, {
"template_id" : "sys_data_augmentation",
"label_zh" : "label_zh to translate",
"label_en" : "data augmentation"
} ]
}
Status Code |
Description |
|---|---|
200 |
OK |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
See Error Codes.