Previous page Next page

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

On the page:


General info

Method

GET /IP address:port/<api_ver>/task

DescriptionThe request is used to create a new task. When sending data, you can use two content types: multipart/form-data or application/json

Sample request

POST http://localhost:5000/v1.3/task
Content-Type: application/json
 
{
  "name": "Cars",
  "pipeline": "classification/mobilenet_224"
}

where:

ParameterDescription
name

Task name

pipeline

The name of the pipeline (training script). If not specified, the default value will be used

Sample response

{ "message": "Done" }

Response in case of error:

{ "error": "error description" }


  • No labels