Set the retraining state

(Deprecated)
put/projects/{projectId}/retrainJobs

Sets the retraining state for the project. The retraining state can be set as needed or completed. The response object contains the job created for performing the batch retraining.

Request Samples

1

Response Samples

1{
2 "AnalyticsProject": {
3 "id": "9d63e067-1644-4ea4-8155-2c1790da487b",
4 "name": "930",
5 "links": [],
6 "creationTimeStamp": "2023-02-06T14:06:26.928Z",
7 "createdBy": "username",
8 "modifiedTimeStamp": "2023-02-07T17:41:05.201Z",
9 "modifiedBy": "username",
10 "revision": 40,
11 "version": 1,
12 "projectType": "datamining",
13 "projectStatus": "ready",
14 "retrainingState": "needed"
15 }
16}

Path Parameters

NameTypeRequiredDescription
projectId
string
true

The identifier of the project.

Query Parameters

NameTypeRequiredDescription
state
string
true

The state of the project retrain.

Allowed values:
neededcompleted

Header Parameters

NameTypeRequiredDescription
If-Match
string
false

The entity tag that was returned from a GET, POST, or PUT method of the project.

Responses

StatusMeaningDescription
200OK

The request succeeded.

HeadersSchema
400Bad Request

The request was invalid.

Schema
404Not Found

No project exists at the requested path.

Schema
412Precondition Failed

The value supplied in the If-Match header did not match the expected value.

Schema
428Precondition Required

An If-Match header was not supplied on the update request.

Schema