Get a model version(Deprecated)

get/models/{modelId}/modelVersions/{versionId}

Returns the model version that is associated with the specified model ID and version ID.

Note: This endpoint has been deprecated. It was replaced by the /models/{modelId}/history/{versionId} endpoint.

Request Samples

1

Response Samples

1{
2 "createdBy": "string",
3 "modifiedBy": "string",
4 "creationTimeStamp": "2019-08-24T14:15:22Z",
5 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
6 "id": "string",
7 "name": "string",
8 "description": "string",
9 "function": "string",
10 "algorithm": "string",
11 "tool": "string",
12 "modeler": "string",
13 "scoreCodeType": "string",
14 "trainTable": "string",
15 "eventProbVar": "string",
16 "targetEvent": "string",
17 "champion": true,
18 "role": "string",
19 "location": "string",
20 "targetVariable": "string",
21 "projectId": "string",
22 "projectName": "string",
23 "projectVersionId": "string",
24 "projectVersionName": "string",
25 "folderId": "string",
26 "repositoryId": "string",
27 "championStartTime": "string",
28 "championEndTime": "string",
29 "suggestedChampion": true,
30 "retrainable": true,
31 "immutable": true,
32 "modelVersionName": "string",
33 "properties": [
34 {
35 "name": "string",
36 "value": "string",
37 "type": "string"
38 }
39 ],
40 "inputVariables": [
41 {
42 "createdBy": "string",
43 "modifiedBy": "string",
44 "creationTimeStamp": "2019-08-24T14:15:22Z",
45 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
46 "name": "string",
47 "description": "string",
48 "role": "string",
49 "type": "string",
50 "level": "string",
51 "format": "string",
52 "length": 0,
53 "version": 2
54 }
55 ],
56 "outputVariables": [
57 {
58 "createdBy": "string",
59 "modifiedBy": "string",
60 "creationTimeStamp": "2019-08-24T14:15:22Z",
61 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
62 "name": "string",
63 "description": "string",
64 "role": "string",
65 "type": "string",
66 "level": "string",
67 "format": "string",
68 "length": 0,
69 "version": 2
70 }
71 ],
72 "version": 2
73}

Path Parameters

NameTypeRequiredDescription
modelId
string
true

The unique identifier for the model.

versionId
string
true

The unique identifier for the model version.

Responses

StatusMeaningDescription
200OK

The request succeeded. The model version was returned.

HeadersSchema
404Not Found

No model version exists at the requested path.

Schema