| Section | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| Method |
POST /IP address:port/<api_ver>/task | |
| Description | The request is used to create a new task. When sending data, you can use two content types: multipart/form-data or application/json |
| Code Block |
|---|
POST http://localhost:5000/v1.3/task
Content-Type: application/json
{
"name": "Cars",
"pipeline": "classification/mobilenet_224"
} |
where:
| Parameter | Description |
|---|---|
| name | Task name |
| pipeline | The name of the pipeline (training script). If not specified, the default value will be used |
| Code Block |
|---|
{ "message": "Done" } |
...