Get the contents of a model version(Deprecated)

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

Returns the contents for the model version that is associated with the specified model ID and version ID. The contents of a model version includes a list of model contents and metadata information.

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

Request Samples

1

Response Samples

1{
2 "name": "string",
3 "start": 0,
4 "limit": 0,
5 "count": 0,
6 "accept": "string",
7 "links": [
8 {
9 "method": "string",
10 "rel": "string",
11 "uri": "string",
12 "href": "string",
13 "title": "string",
14 "type": "string",
15 "itemType": "string",
16 "responseType": "string",
17 "responseItemType": "string"
18 }
19 ],
20 "version": 0,
21 "items": [
22 {
23 "creationTimeStamp": "2019-08-24T14:15:22Z",
24 "createdBy": "string",
25 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
26 "modifiedBy": "string",
27 "id": "string",
28 "name": "string",
29 "fileUri": "string",
30 "modelId": "string",
31 "versionId": "string",
32 "links": [
33 {
34 "method": "string",
35 "rel": "string",
36 "uri": "string",
37 "href": "string",
38 "title": "string",
39 "type": "string",
40 "itemType": "string",
41 "responseType": "string",
42 "responseItemType": "string"
43 }
44 ]
45 }
46 ]
47}

Path Parameters

NameTypeRequiredDescription
modelId
string
true

The unique identifier for the model.

versionId
string
true

The unique identifier for the model version.

Query Parameters

NameTypeRequiredDescription
limit
integer<int32>
false

The maximum number of items to return in this request.

Default:
20
start
integer<int32>
false

The 0-based start index of a paginated request.

>= 0
Default:
0

Responses

StatusMeaningDescription
200OK

The contents of the model version was returned.

Schema
404Not Found

No model version exists at the requested path.

Schema