Build on-device model
POST {{baseUrl}}/api/:projectId/jobs/build-ondevice-model?type=<string>
Generate code to run the impulse on an embedded device. When this step is complete use downloadBuild to download the artefacts. Updates are streamed over the websocket API.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
type | string | (Required) The name of the built target. You can find this by listing all deployment targets through listDeploymentTargetsForProject (via GET /v1/api/{projectId}/deployment/targets) and see the format type. |
Request Body
{"engine"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "modelType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}