Set the retraining state(Deprecated)

put/projects/{projectId}/retrainJobs
Internal-Use Only

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 "containerMediaType": "string",
3 "containerUri": "string",
4 "createdBy": "string",
5 "creationTimeStamp": "2019-08-24T14:15:22Z",
6 "dataLabel": "string",
7 "dataMediaType": "string",
8 "dataUri": "string",
9 "description": "string",
10 "id": "string",
11 "links": [
12 {
13 "method": "string",
14 "rel": "string",
15 "uri": "string",
16 "href": "string",
17 "title": "string",
18 "type": "string",
19 "itemType": "string",
20 "responseType": "string",
21 "responseItemType": "string"
22 }
23 ],
24 "lockTimeout": {
25 "epochSecond": 0,
26 "nano": 0
27 },
28 "lockedBy": "string",
29 "modelImageUri": "string",
30 "modifiedBy": "string",
31 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
32 "name": "string",
33 "projectStatus": "undefined",
34 "projectStatusMessage": "string",
35 "projectType": "string",
36 "providerSpecificProperties": {
37 "property1": "string",
38 "property2": "string"
39 },
40 "readOnlySharing": true,
41 "revision": -9223372036854776000,
42 "selectedSharingGroups": [
43 "string"
44 ],
45 "shared": true,
46 "version": -2147483648
47}

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

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
400Bad RequestThe request was invalid.Schema
404Not FoundNo project exists at the requested path.Schema